Log paytester dispose

This commit is contained in:
nicolas.dorier
2019-10-19 14:09:19 +09:00
parent fee106abef
commit c05820224e

View File

@@ -166,12 +166,14 @@ namespace BTCPayServer.Tests
public void Dispose()
{
Logs.Tester.LogInformation("Disposing the BTCPayTester...");
foreach (var store in Stores)
{
Xunit.Assert.True(PayTester.StoreRepository.DeleteStore(store).GetAwaiter().GetResult());
}
if (PayTester != null)
PayTester.Dispose();
Logs.Tester.LogInformation("BTCPayTester disposed");
}
}
}