diff options
Diffstat (limited to 'models/repo')
-rw-r--r-- | models/repo/main_test.go | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/models/repo/main_test.go b/models/repo/main_test.go index fdd6c3f4d3..e375e8a9f3 100644 --- a/models/repo/main_test.go +++ b/models/repo/main_test.go @@ -12,17 +12,20 @@ import ( ) func TestMain(m *testing.M) { - unittest.MainTest(m, filepath.Join("..", ".."), - "attachment.yml", - "repo_archiver.yml", - "repository.yml", - "repo_unit.yml", - "repo_indexer_status.yml", - "repo_redirect.yml", - "watch.yml", - "star.yml", - "topic.yml", - "repo_topic.yml", - "user.yml", - ) + unittest.MainTest(m, &unittest.TestOptions{ + GiteaRootPath: filepath.Join("..", ".."), + FixtureFiles: []string{ + "attachment.yml", + "repo_archiver.yml", + "repository.yml", + "repo_unit.yml", + "repo_indexer_status.yml", + "repo_redirect.yml", + "watch.yml", + "star.yml", + "topic.yml", + "repo_topic.yml", + "user.yml", + }, + }) } |