mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-19 15:04:19 +01:00
Log paytester dispose
This commit is contained in:
@@ -166,12 +166,14 @@ namespace BTCPayServer.Tests
|
|||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
Logs.Tester.LogInformation("Disposing the BTCPayTester...");
|
||||||
foreach (var store in Stores)
|
foreach (var store in Stores)
|
||||||
{
|
{
|
||||||
Xunit.Assert.True(PayTester.StoreRepository.DeleteStore(store).GetAwaiter().GetResult());
|
Xunit.Assert.True(PayTester.StoreRepository.DeleteStore(store).GetAwaiter().GetResult());
|
||||||
}
|
}
|
||||||
if (PayTester != null)
|
if (PayTester != null)
|
||||||
PayTester.Dispose();
|
PayTester.Dispose();
|
||||||
|
Logs.Tester.LogInformation("BTCPayTester disposed");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user