Skip to content

Commit

Permalink
CODE RUB: Inherit IDisposable
Browse files Browse the repository at this point in the history
  • Loading branch information
glhays committed Mar 9, 2024
1 parent 86dc4c1 commit baea415
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace RESTFulSense.WebAssenbly.Tests.Acceptance.Tests
{
public partial class RestfulSenseWebAssemblyApiClientTests
public partial class RestfulSenseWebAssemblyApiClientTests : IDisposable
{
private readonly WireMockServer wiremockServer;
private const string relativeUrl = "/tests";
Expand Down Expand Up @@ -79,6 +79,5 @@ private static Filler<TEntity> CreateTEntityFiller(DateTimeOffset dates)
}

public void Dispose() => this.wiremockServer.Stop();

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace RESTFulSense.WebAssenbly.Tests.Acceptance.Tests
{
public partial class RestfulSenseWebAssemblyFactoryApiClientTests
public partial class RestfulSenseWebAssemblyFactoryApiClientTests : IDisposable
{
private readonly IRESTFulApiFactoryClient webAssemblyApiFactoryClient;
private readonly HttpClient httpClient;
Expand Down

0 comments on commit baea415

Please sign in to comment.