diff options
Diffstat (limited to 'models/issues/main_test.go')
-rw-r--r-- | models/issues/main_test.go | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/models/issues/main_test.go b/models/issues/main_test.go index bec6176abd..30f6ff02fb 100644 --- a/models/issues/main_test.go +++ b/models/issues/main_test.go @@ -18,10 +18,13 @@ func init() { } func TestMain(m *testing.M) { - unittest.MainTest(m, filepath.Join("..", ".."), - "reaction.yml", - "user.yml", - "repository.yml", - "milestone.yml", - ) + unittest.MainTest(m, &unittest.TestOptions{ + GiteaRootPath: filepath.Join("..", ".."), + FixtureFiles: []string{ + "reaction.yml", + "user.yml", + "repository.yml", + "milestone.yml", + }, + }) } |