aboutsummaryrefslogtreecommitdiffstats
path: root/modules/notification
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification')
-rw-r--r--modules/notification/action/action_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/notification/action/action_test.go b/modules/notification/action/action_test.go
index 3664b82104..2898c8ec3d 100644
--- a/modules/notification/action/action_test.go
+++ b/modules/notification/action/action_test.go
@@ -18,7 +18,9 @@ import (
)
func TestMain(m *testing.M) {
- unittest.MainTest(m, filepath.Join("..", "..", ".."))
+ unittest.MainTest(m, &unittest.TestOptions{
+ GiteaRootPath: filepath.Join("..", "..", ".."),
+ })
}
func TestRenameRepoAction(t *testing.T) {