diff options
Diffstat (limited to 'services/mailer/main_test.go')
-rw-r--r-- | services/mailer/main_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/mailer/main_test.go b/services/mailer/main_test.go index ae3b2c12b4..0bd154113f 100644 --- a/services/mailer/main_test.go +++ b/services/mailer/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("..", ".."), + }) } |