aboutsummaryrefslogtreecommitdiffstats
path: root/services/user/user_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/user/user_test.go')
-rw-r--r--services/user/user_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/user/user_test.go b/services/user/user_test.go
index 7835530394..cfa02b0033 100644
--- a/services/user/user_test.go
+++ b/services/user/user_test.go
@@ -20,7 +20,9 @@ import (
)
func TestMain(m *testing.M) {
- unittest.MainTest(m, filepath.Join("..", ".."))
+ unittest.MainTest(m, &unittest.TestOptions{
+ GiteaRootPath: filepath.Join("..", ".."),
+ })
}
func TestDeleteUser(t *testing.T) {