From 17f3d2664a5e65aa3c46b1bde638e63a612df0a7 Mon Sep 17 00:00:00 2001 From: Elizabeth Schneider Date: Mon, 29 Mar 2021 14:29:45 -0600 Subject: [PATCH] updated test case (#511) --- .../ZendeskApi_v2.Test/HelpCenter/ArticleAttachmentsTest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ZendeskApi_v2.Test/HelpCenter/ArticleAttachmentsTest.cs b/test/ZendeskApi_v2.Test/HelpCenter/ArticleAttachmentsTest.cs index aed90ad9..0734326b 100644 --- a/test/ZendeskApi_v2.Test/HelpCenter/ArticleAttachmentsTest.cs +++ b/test/ZendeskApi_v2.Test/HelpCenter/ArticleAttachmentsTest.cs @@ -51,9 +51,9 @@ public async Task CanUploadAttachmentsForArticleAsync() { var file = new ZenFile() { - ContentType = "text/plain", - FileName = "testupload.txt", - FileData = File.ReadAllBytes(TestContext.CurrentContext.TestDirectory + "\\testupload.txt") + ContentType = "image/jpeg", + FileName = "gracehoppertocat3.jpg", + FileData = File.ReadAllBytes(TestContext.CurrentContext.TestDirectory + "\\gracehoppertocat3.jpg") }; var articleResponse = await api.HelpCenter.Articles.CreateArticleAsync(_sectionId, new Article