Can delete stores

This commit is contained in:
nicolas.dorier
2018-07-19 19:31:17 +09:00
parent c3ea63c6ce
commit ce17e3212a
23 changed files with 1026 additions and 45 deletions

View File

@@ -214,9 +214,14 @@ namespace BTCPayServer.Tests
{
get; set;
}
public List<string> Stores { get; internal set; } = new List<string>();
public void Dispose()
{
foreach(var store in Stores)
{
Xunit.Assert.True(PayTester.StoreRepository.DeleteStore(store).GetAwaiter().GetResult());
}
if (PayTester != null)
PayTester.Dispose();
}