Skip to content

Commit 4af533e

Browse files
committed
Updating test to match new breaking change in FluentAssertions
1 parent 8cd5b56 commit 4af533e

File tree

1 file changed

+1
-1
lines changed
  • Examples/MovieProject/MovieProject.Tests/MovieProject.InterceptionUnhappyTests

1 file changed

+1
-1
lines changed

Examples/MovieProject/MovieProject.Tests/MovieProject.InterceptionUnhappyTests/GetMovieTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private static List<HttpRequestMessage> AssertOutgoingRequests(HttpClient client
141141
outgoing[0].GetEndpoint().Should().StartWith("GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=");
142142
var dates = outgoing[0].GetDatesSent();
143143
dates.Should().HaveCount(1);
144-
dates[0].Should().BeCloseTo(DateTime.Now, 700);
144+
dates[0].Should().BeCloseTo(DateTime.Now, TimeSpan.FromMilliseconds(700));
145145

146146
return outgoing;
147147
}

0 commit comments

Comments
 (0)