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