mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-21 08:21:53 +02:00
using var
This commit is contained in:
@@ -27,7 +27,7 @@ namespace WireMock.Net.Tests
|
||||
}));
|
||||
|
||||
// Act
|
||||
using var httpClient = new HttpClient();
|
||||
var httpClient = new HttpClient();
|
||||
var response = await httpClient.PostAsync("http://localhost:" + server.Ports[0] + "/foo", new StringContent("dummy"));
|
||||
|
||||
// Assert
|
||||
|
||||
Reference in New Issue
Block a user