2022-03-29 02:29:02 -04:00
|
|
|
// Copyright 2021 The Gitea Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package organization
|
|
|
|
|
|
|
|
import (
|
|
|
|
"path/filepath"
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"code.gitea.io/gitea/models/unittest"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestMain(m *testing.M) {
|
2022-04-14 09:58:21 -04:00
|
|
|
unittest.MainTest(m, &unittest.TestOptions{
|
|
|
|
GiteaRootPath: filepath.Join("..", ".."),
|
|
|
|
FixtureFiles: []string{
|
|
|
|
"user.yml",
|
|
|
|
"org_user.yml",
|
|
|
|
"team.yml",
|
|
|
|
"team_repo.yml",
|
|
|
|
"team_unit.yml",
|
|
|
|
"team_user.yml",
|
|
|
|
"repository.yml",
|
|
|
|
},
|
|
|
|
})
|
2022-03-29 02:29:02 -04:00
|
|
|
}
|