aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/main_test.go')
-rw-r--r--routers/web/repo/main_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/routers/web/repo/main_test.go b/routers/web/repo/main_test.go
index 81e3a8e281..a1ca3c3bc7 100644
--- a/routers/web/repo/main_test.go
+++ b/routers/web/repo/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("..", "..", ".."),
+ })
}