aboutsummaryrefslogtreecommitdiff
path: root/services/attachment/attachment_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/attachment/attachment_test.go')
-rw-r--r--services/attachment/attachment_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/attachment/attachment_test.go b/services/attachment/attachment_test.go
index 72d1b2ab3..1b9af3442 100644
--- a/services/attachment/attachment_test.go
+++ b/services/attachment/attachment_test.go
@@ -36,7 +36,7 @@ func TestUploadAttachment(t *testing.T) {
RepoID: 1,
UploaderID: user.ID,
Name: filepath.Base(fPath),
- }, f)
+ }, f, -1)
assert.NoError(t, err)
attachment, err := repo_model.GetAttachmentByUUID(db.DefaultContext, attach.UUID)