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