Skip to content

Commit

Permalink
fix bug in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ppittle committed Mar 7, 2018
1 parent 3db37fd commit 7ac8b2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/HttpWebRequestWrapper.Tests/RecorderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,10 @@ await Task.WhenAll(
// ASSERT
creator1.RecordingSession.RecordedRequests.Count.ShouldEqual(2);

creator1.RecordingSession.RecordedRequests[0].Url.ShouldContain("github");
creator1.RecordingSession.RecordedRequests[0].ResponseBody.SerializedStream.ShouldContain("<html");
creator1.RecordingSession.RecordedRequests.Any(x => x.Url.Contains("github")).ShouldBeTrue();
creator1.RecordingSession.RecordedRequests.Any(x => x.Url.Contains("appveyor")).ShouldBeTrue();

creator1.RecordingSession.RecordedRequests[1].Url.ShouldContain("appveyor");
creator1.RecordingSession.RecordedRequests[0].ResponseBody.SerializedStream.ShouldContain("<html");
creator1.RecordingSession.RecordedRequests[1].ResponseBody.SerializedStream.ShouldContain("<html");

creator2.RecordingSession.RecordedRequests.Count.ShouldEqual(1);
Expand Down

0 comments on commit 7ac8b2e

Please sign in to comment.