mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-22 08:48:46 +02:00
NO ConfigureAwait(false) + cleanup
This commit is contained in:
@@ -29,7 +29,7 @@ public partial class WireMockServerTests
|
||||
|
||||
// Act
|
||||
var requestUri = new Uri($"http://localhost:{server.Port}/foo");
|
||||
var response = await server.CreateClient().GetAsync(requestUri).ConfigureAwait(false);
|
||||
var response = await server.CreateClient().GetAsync(requestUri);
|
||||
|
||||
// Assert
|
||||
Assert.True(new[] { HttpStatusCode.OK, HttpStatusCode.InternalServerError }.Contains(response.StatusCode));
|
||||
|
||||
Reference in New Issue
Block a user