summaryrefslogtreecommitdiffstats
path: root/integrations/attachment_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/attachment_test.go')
-rw-r--r--integrations/attachment_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/attachment_test.go b/integrations/attachment_test.go
index a28e38b990..052f27605a 100644
--- a/integrations/attachment_test.go
+++ b/integrations/attachment_test.go
@@ -122,7 +122,7 @@ func TestGetAttachment(t *testing.T) {
t.Run(tc.name, func(t *testing.T) {
//Write empty file to be available for response
if tc.createFile {
- _, err := storage.Attachments.Save(models.AttachmentRelativePath(tc.uuid), strings.NewReader("hello world"))
+ _, err := storage.Attachments.Save(models.AttachmentRelativePath(tc.uuid), strings.NewReader("hello world"), -1)
assert.NoError(t, err)
}
//Actual test