Skip to content

Commit

Permalink
unit: adjust resumePayment context
Browse files Browse the repository at this point in the history
  • Loading branch information
hieblmi committed May 7, 2024
1 parent 6902d3e commit dcdd913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routing/payment_lifecycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func sendPaymentAndAssertFailed(t *testing.T,
// We now make a call to `resumePayment` and expect it to return the
// error.
go func() {
preimage, _, err := p.resumePayment()
preimage, _, err := p.resumePayment(nil)

Check failure on line 164 in routing/payment_lifecycle_test.go

View workflow job for this annotation

GitHub Actions / check commits

not enough arguments in call to p.resumePayment
resultChan <- &resumePaymentResult{
preimage: preimage,
err: err,
Expand Down Expand Up @@ -189,7 +189,7 @@ func sendPaymentAndAssertSucceeded(t *testing.T,
// We now make a call to `resumePayment` and expect it to return the
// preimage.
go func() {
preimage, _, err := p.resumePayment()
preimage, _, err := p.resumePayment(nil)

Check failure on line 192 in routing/payment_lifecycle_test.go

View workflow job for this annotation

GitHub Actions / check commits

not enough arguments in call to p.resumePayment
resultChan <- &resumePaymentResult{
preimage: preimage,
err: err,
Expand Down

0 comments on commit dcdd913

Please sign in to comment.