diff options
Diffstat (limited to 'modules/repository/main_test.go')
-rw-r--r-- | modules/repository/main_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/repository/main_test.go b/modules/repository/main_test.go index 262d339481..42134fa7ad 100644 --- a/modules/repository/main_test.go +++ b/modules/repository/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("..", ".."), + }) } |