Skip to content

Commit

Permalink
Fix Action_HttpRequestError on mac builds
Browse files Browse the repository at this point in the history
  • Loading branch information
EricDahlvang committed Jul 11, 2022
1 parent 2f2457c commit 1d69196
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ public async Task Action_HttpRequestError()

await new TestFlow((TestAdapter)testAdapter, dm.OnTurnAsync)
.SendConversationUpdate()
.AssertReply("{\r\n \"statusCode\": 404,\r\n \"reasonPhrase\": \"error reason here\",\r\n \"headers\": {},\r\n \"content\": null\r\n}")
.AssertReply(a => (a as Activity).Text.Replace("\r\n", string.Empty).Equals("{\"statusCode\": 404, \"reasonPhrase\": \"error reason here\", \"headers\": {}, \"content\": null}", StringComparison.OrdinalIgnoreCase))
.AssertReply("done")
.StartTestAsync();
}
Expand Down

0 comments on commit 1d69196

Please sign in to comment.