summaryrefslogtreecommitdiffstats
path: root/models/organization/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/organization/main_test.go')
-rw-r--r--models/organization/main_test.go16
1 files changed, 6 insertions, 10 deletions
diff --git a/models/organization/main_test.go b/models/organization/main_test.go
index 711b86b9bd..376552cb22 100644
--- a/models/organization/main_test.go
+++ b/models/organization/main_test.go
@@ -2,26 +2,22 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package organization
+package organization_test
import (
"path/filepath"
"testing"
"code.gitea.io/gitea/models/unittest"
+
+ _ "code.gitea.io/gitea/models"
+ _ "code.gitea.io/gitea/models/organization"
+ _ "code.gitea.io/gitea/models/repo"
+ _ "code.gitea.io/gitea/models/user"
)
func TestMain(m *testing.M) {
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",
- },
})
}