aboutsummaryrefslogtreecommitdiffstats
path: root/services/repository/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/repository/main_test.go')
-rw-r--r--services/repository/main_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/repository/main_test.go b/services/repository/main_test.go
index 262d339481..42134fa7ad 100644
--- a/services/repository/main_test.go
+++ b/services/repository/main_test.go
@@ -12,5 +12,7 @@ import (
)
func TestMain(m *testing.M) {
- unittest.MainTest(m, filepath.Join("..", ".."))
+ unittest.MainTest(m, &unittest.TestOptions{
+ GiteaRootPath: filepath.Join("..", ".."),
+ })
}