paymentsdb: rename assertPayments
This commit is contained in:
2 files changed
+39
-39
No files matched your search
@@ -105,7 +105,7 @@ func TestKVPaymentsDBDeleteNonInFlight(t *testing.T) {
|
||||
}
|
||||
|
||||
// Verify the status is indeed Failed.
|
||||
assertPaymentStatus(
|
||||
assertPaymentstatus(
|
||||
t, paymentDB, info.PaymentIdentifier,
|
||||
StatusFailed,
|
||||
)
|
||||
@@ -129,7 +129,7 @@ func TestKVPaymentsDBDeleteNonInFlight(t *testing.T) {
|
||||
" got: %v", err)
|
||||
}
|
||||
|
||||
assertPaymentStatus(
|
||||
assertPaymentstatus(
|
||||
t, paymentDB, info.PaymentIdentifier,
|
||||
StatusSucceeded,
|
||||
)
|
||||
@@ -143,7 +143,7 @@ func TestKVPaymentsDBDeleteNonInFlight(t *testing.T) {
|
||||
numSuccess++
|
||||
|
||||
default:
|
||||
assertPaymentStatus(
|
||||
assertPaymentstatus(
|
||||
t, paymentDB, info.PaymentIdentifier,
|
||||
StatusInFlight,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user