diff options
Diffstat (limited to 'services/webhook/main_test.go')
-rw-r--r-- | services/webhook/main_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/webhook/main_test.go b/services/webhook/main_test.go index a87b74e89d..25b9df0af6 100644 --- a/services/webhook/main_test.go +++ b/services/webhook/main_test.go @@ -14,5 +14,7 @@ import ( ) func TestMain(m *testing.M) { - unittest.MainTest(m, filepath.Join("..", "..")) + unittest.MainTest(m, &unittest.TestOptions{ + GiteaRootPath: filepath.Join("..", ".."), + }) } |