diff --git a/Attachments/AttachmentTest.cs b/Attachments/AttachmentTest.cs index a32cded..21a5b1e 100644 --- a/Attachments/AttachmentTest.cs +++ b/Attachments/AttachmentTest.cs @@ -121,6 +121,9 @@ namespace raven_integration formDataContent.Add(new StringContent("2"), name: "AttachToObjectType"); formDataContent.Add(new StringContent("1"), name: "AttachToObjectId"); + formDataContent.Add(new StringContent("Test:AttachmentUploadDownloadDeleteShouldWork"), name: "Notes"); + formDataContent.Add(new StringContent("[{\"name\":\"test.png\",\"lastModified\":1586900220990}]"), name: "FileData"); + StreamContent file1 = new StreamContent(File.OpenRead($"{Util.TEST_DATA_FOLDER}\\test.png")); file1.Headers.ContentType = new MediaTypeHeaderValue("image/png");