Fix tests

This commit is contained in:
nicolas.dorier
2019-07-31 15:40:21 +09:00
parent 717cadc64b
commit 5d6c28c997

View File

@@ -269,7 +269,7 @@ namespace BTCPayServer.Controllers
handler handler
.IsPaymentMethodAllowedBasedOnInvoiceAmount(storeBlob, fetchingByCurrencyPair, .IsPaymentMethodAllowedBasedOnInvoiceAmount(storeBlob, fetchingByCurrencyPair,
paymentMethod.Calculate().Due, supportedPaymentMethod.PaymentId); paymentMethod.Calculate().Due, supportedPaymentMethod.PaymentId);
if (errorMessage != null) if (!string.IsNullOrEmpty(errorMessage))
{ {
logs.Write($"{logPrefix} {errorMessage}"); logs.Write($"{logPrefix} {errorMessage}");
return null; return null;