Skip to content

Commit 17f3d26

Browse files
authored
updated test case (#511)
1 parent 27a6a93 commit 17f3d26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/ZendeskApi_v2.Test/HelpCenter/ArticleAttachmentsTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ public async Task CanUploadAttachmentsForArticleAsync()
5151
{
5252
var file = new ZenFile()
5353
{
54-
ContentType = "text/plain",
55-
FileName = "testupload.txt",
56-
FileData = File.ReadAllBytes(TestContext.CurrentContext.TestDirectory + "\\testupload.txt")
54+
ContentType = "image/jpeg",
55+
FileName = "gracehoppertocat3.jpg",
56+
FileData = File.ReadAllBytes(TestContext.CurrentContext.TestDirectory + "\\gracehoppertocat3.jpg")
5757
};
5858

5959
var articleResponse = await api.HelpCenter.Articles.CreateArticleAsync(_sectionId, new Article

0 commit comments

Comments
 (0)