summaryrefslogtreecommitdiffstats
path: root/services/wiki
diff options
context:
space:
mode:
Diffstat (limited to 'services/wiki')
-rw-r--r--services/wiki/wiki_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/wiki/wiki_test.go b/services/wiki/wiki_test.go
index 17ec657cac..0c73074dbe 100644
--- a/services/wiki/wiki_test.go
+++ b/services/wiki/wiki_test.go
@@ -20,7 +20,9 @@ import (
)
func TestMain(m *testing.M) {
- unittest.MainTest(m, filepath.Join("..", ".."))
+ unittest.MainTest(m, &unittest.TestOptions{
+ GiteaRootPath: filepath.Join("..", ".."),
+ })
}
func TestWikiNameToSubURL(t *testing.T) {