summaryrefslogtreecommitdiffstats
path: root/models/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/main_test.go')
-rw-r--r--models/main_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/models/main_test.go b/models/main_test.go
index 00da59cbe6..96231e4704 100644
--- a/models/main_test.go
+++ b/models/main_test.go
@@ -37,5 +37,7 @@ func TestFixturesAreConsistent(t *testing.T) {
}
func TestMain(m *testing.M) {
- unittest.MainTest(m, "..")
+ unittest.MainTest(m, &unittest.TestOptions{
+ GiteaRootPath: "..",
+ })
}