mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-08 08:34:25 +01:00
Apply suggestions from code review
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
This commit is contained in:
@@ -852,6 +852,10 @@ namespace BTCPayServer.Tests
|
||||
var invoice = await viewOnly.GetInvoice(user.StoreId, newInvoice.Id);
|
||||
Assert.Equal(newInvoice.Metadata, invoice.Metadata);
|
||||
var paymentMethods = await viewOnly.GetInvoicePaymentMethods(user.StoreId, newInvoice.Id);
|
||||
Assert.Equal(1, paymentMethods.Length);
|
||||
var paymentMethod = paymentMethods.First();
|
||||
Assert.Equal("BTC", paymentMethod.PaymentMethod);
|
||||
Assert.Equal(0, paymentMethod.Payments.Count);
|
||||
|
||||
|
||||
//update
|
||||
|
||||
Reference in New Issue
Block a user