diff options
Diffstat (limited to 'services/wiki')
-rw-r--r-- | services/wiki/wiki_test.go | 4 |
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) { |