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