diff options
Diffstat (limited to 'services/attachment/attachment_test.go')
-rw-r--r-- | services/attachment/attachment_test.go | 2 |
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) |