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