diff options
Diffstat (limited to 'routers/web/user/setting/main_test.go')
-rw-r--r-- | routers/web/user/setting/main_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/routers/web/user/setting/main_test.go b/routers/web/user/setting/main_test.go index b6ed7f5b18..d4df464abd 100644 --- a/routers/web/user/setting/main_test.go +++ b/routers/web/user/setting/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("..", "..", "..", ".."), + }) } |