Skip to content

Commit

Permalink
Changes generated by 8cceaedf351a0e57793cb47afc985344b8f75819
Browse files Browse the repository at this point in the history
  • Loading branch information
gocardless-robot committed Apr 28, 2020
1 parent c353b7a commit 4a035a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GoCardless.Tests/ErrorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public async Task HtmlErrorPage()
Assert.AreEqual(502, ex.Code);
Assert.AreEqual(ApiErrorType.GOCARDLESS, ex.Type);
Assert.AreEqual("Something went wrong with this request. Please check the ResponseMessage property.", ex.Message);
Assert.AreEqual("<!DOCTYPE html>\n<html>\n <head>\n <title>This is an HTML error page, like one returned by Cloudflare</title>\n </head>\n</html>\n", ex.ResponseMessage.Content.ReadAsStringAsync().Result);
Assert.AreEqual("<!DOCTYPE html>\n<html>\n <head>\n <title>This is an HTML error page, like one returned by Cloudflare</title>\n </head>\n</html>\n", ex.ResponseMessage.Content.ReadAsStringAsync().Result.Replace("\r\n", "\n"));
return;
}
Assert.Fail("Exception was not thrown");
Expand Down

0 comments on commit 4a035a1

Please sign in to comment.