fix CanUseInvoiceReceipts

This commit is contained in:
Kukks 2022-08-26 11:09:20 +02:00 committed by Andrew Camilleri
parent defb9120fd
commit 51666fbf0e

View File

@ -480,7 +480,8 @@ namespace BTCPayServer.Tests
Assert.Contains("invoice-processing", s.Driver.PageSource);
});
s.GoToUrl(checkouturi);
s.MineBlockOnInvoiceCheckout();
await s.Server.PayTester.InvoiceRepository.MarkInvoiceStatus(i, InvoiceStatus.Settled);
TestUtils.Eventually(() => s.Driver.FindElement(By.LinkText("View receipt")).Click());
TestUtils.Eventually(() =>