Skip to content

Commit 5851827

Browse files
committed
Change test to use new assertion method
1 parent 52c0e60 commit 5851827

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/TestableHttpClient.IntegrationTests/CreatingClients.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public async Task CreateClientWithConfiguration()
2323

2424
await client.GetAsync("https://httpbin.org/get", TestContext.Current.CancellationToken);
2525

26-
testableHttpMessageHandler.ShouldHaveMadeRequests().WithHeader("test", "test");
26+
testableHttpMessageHandler.ShouldHaveMadeRequests(x => x.WithHeader("test", "test"));
2727
}
2828

2929
[Fact]

0 commit comments

Comments
 (0)