diff --git a/tests/Feature/PaymentTest.php b/tests/Feature/PaymentTest.php index a277b3126e4f..331e16d4959b 100644 --- a/tests/Feature/PaymentTest.php +++ b/tests/Feature/PaymentTest.php @@ -457,7 +457,7 @@ class PaymentTest extends TestCase $this->invoice = $this->invoice_calc->getInvoice(); $this->invoice->save(); - $this->invoice->service()->markSent()->save(); + $this->invoice->service()->markSent()->createInvitations()->save(); $data = [ 'amount' => 2.0,