mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-20 16:01:39 +02:00
Fix SonarCloud OpenCover (coverlet-coverage) (#545)
This commit is contained in:
@@ -16,9 +16,9 @@ namespace WireMock.Net.Tests.FluentAssertions
|
||||
{
|
||||
public class WireMockAssertionsTests : IDisposable
|
||||
{
|
||||
private WireMockServer _server;
|
||||
private HttpClient _httpClient;
|
||||
private int _portUsed;
|
||||
private readonly WireMockServer _server;
|
||||
private readonly HttpClient _httpClient;
|
||||
private readonly int _portUsed;
|
||||
|
||||
public WireMockAssertionsTests()
|
||||
{
|
||||
@@ -289,6 +289,7 @@ namespace WireMock.Net.Tests.FluentAssertions
|
||||
{
|
||||
_server?.Stop();
|
||||
_server?.Dispose();
|
||||
_httpClient?.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user