diff options
Diffstat (limited to 'models/organization')
-rw-r--r-- | models/organization/main_test.go | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/models/organization/main_test.go b/models/organization/main_test.go index a2cb911021..711b86b9bd 100644 --- a/models/organization/main_test.go +++ b/models/organization/main_test.go @@ -12,13 +12,16 @@ import ( ) func TestMain(m *testing.M) { - unittest.MainTest(m, filepath.Join("..", ".."), - "user.yml", - "org_user.yml", - "team.yml", - "team_repo.yml", - "team_unit.yml", - "team_user.yml", - "repository.yml", - ) + 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", + }, + }) } |