summaryrefslogtreecommitdiffstats
path: root/models/admin/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/admin/main_test.go')
-rw-r--r--models/admin/main_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/models/admin/main_test.go b/models/admin/main_test.go
index f6c9dce57a..693b70fbf7 100644
--- a/models/admin/main_test.go
+++ b/models/admin/main_test.go
@@ -12,7 +12,8 @@ import (
)
func TestMain(m *testing.M) {
- unittest.MainTest(m, filepath.Join("..", ".."),
- "notice.yml",
- )
+ unittest.MainTest(m, &unittest.TestOptions{
+ GiteaRootPath: filepath.Join("..", ".."),
+ FixtureFiles: []string{"notice.yml"},
+ })
}