Skip to content

Commit

Permalink
fix: compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Sep 18, 2023
1 parent 8aca3c0 commit bf8ba44
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Client.Test.Integration/QueryWriteTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ public void OneTimeSetUp()
}
}

[OneTimeTearDownAttribute]
public void OneTimeTearDownAttribute()
{
ConsoleOutListener.Dispose();
}

[Test]
public async Task QueryWrite()
{
Expand Down
11 changes: 9 additions & 2 deletions Client.Test/MockServerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public class MockServerTest
internal WireMockServer MockServer, MockProxy;
internal string MockServerUrl, MockProxyUrl;

[SetUp]
public void SetUp()
[OneTimeSetUp]
public void OneTimeSetUp()
{
if (MockServer is { IsStarted: true })
{
Expand All @@ -35,6 +35,13 @@ public void SetUp()

MockProxyUrl = MockProxy.Urls[0];
}

[OneTimeTearDownAttribute]
public void OneTimeTearDownAttribute()
{
MockServer.Dispose();
MockProxy.Dispose();
}

[TearDown]
public void TearDown()
Expand Down

0 comments on commit bf8ba44

Please sign in to comment.