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