From c2b899c791a87926e41f8de3de34013ef682ac03 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 26 Feb 2022 23:12:14 +1100 Subject: [PATCH] refactor for missing invitation --- tests/Feature/MultiPaymentDeleteTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/MultiPaymentDeleteTest.php b/tests/Feature/MultiPaymentDeleteTest.php index c41a54b28fbc..f9d682668e28 100644 --- a/tests/Feature/MultiPaymentDeleteTest.php +++ b/tests/Feature/MultiPaymentDeleteTest.php @@ -121,7 +121,7 @@ class MultiPaymentDeleteTest extends TestCase $this->assertEquals(0, $invoice->balance); //mark sent - $invoice = $invoice->service()->markSent()->save(); + $invoice = $invoice->service()->markSent()->createInvitations()->save(); $invoice->fresh(); $invoice->client->fresh();