diff options
Diffstat (limited to 'models/project/main_test.go')
-rw-r--r-- | models/project/main_test.go | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/models/project/main_test.go b/models/project/main_test.go index 5296a0f40e..2e97b3a5ef 100644 --- a/models/project/main_test.go +++ b/models/project/main_test.go @@ -14,10 +14,13 @@ import ( ) func TestMain(m *testing.M) { - unittest.MainTest(m, filepath.Join("..", ".."), - "project.yml", - "project_board.yml", - "project_issue.yml", - "repository.yml", - ) + unittest.MainTest(m, &unittest.TestOptions{ + GiteaRootPath: filepath.Join("..", ".."), + FixtureFiles: []string{ + "project.yml", + "project_board.yml", + "project_issue.yml", + "repository.yml", + }, + }) } |