Skip to content

Commit

Permalink
updated test case (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozts2005 authored Mar 29, 2021
1 parent 27a6a93 commit 17f3d26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/ZendeskApi_v2.Test/HelpCenter/ArticleAttachmentsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17f3d26

Please sign in to comment.