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