mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Fix test for clightning overpaying
This commit is contained in:
parent
7efeeb7c28
commit
c99d26a55d
@ -664,7 +664,9 @@ namespace BTCPayServer.Tests
|
||||
{
|
||||
var localInvoice = await user.BitPay.GetInvoiceAsync(invoice.Id);
|
||||
Assert.Equal("complete", localInvoice.Status);
|
||||
Assert.Equal("False", localInvoice.ExceptionStatus.ToString());
|
||||
// C-Lightning may overpay for privacy
|
||||
Assert.True(localInvoice.ExceptionStatus.ToString() == "False" ||
|
||||
localInvoice.ExceptionStatus.ToString() == "paidOver", $"Actual:{localInvoice.ExceptionStatus}, Expected:False or paidOver");
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user