From 1431cc0100065e1f0c140d35d14c930aa077c20f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 27 Feb 2022 17:09:22 +1100 Subject: [PATCH] Fixes for tests --- tests/Feature/Payments/CreditPaymentTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Payments/CreditPaymentTest.php b/tests/Feature/Payments/CreditPaymentTest.php index edc2b7b87..6f87ce206 100644 --- a/tests/Feature/Payments/CreditPaymentTest.php +++ b/tests/Feature/Payments/CreditPaymentTest.php @@ -79,7 +79,7 @@ class CreditPaymentTest extends TestCase $invoice = $invoice_calc->getInvoice(); $invoice->setRelation('client', $this->client); $invoice->setRelation('company', $this->company); - $invoice->service()->markSent()->save(); + $invoice->service()->markSent()->createInvitations()->save(); $data = [