From 357b703017cf56802846ed8215d958162239de5b Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 3 Jan 2023 16:04:36 +1100 Subject: [PATCH] Minor fixes for tests --- tests/MockAccountData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/MockAccountData.php b/tests/MockAccountData.php index 01495b9f8d3f..f4cb34216d9f 100644 --- a/tests/MockAccountData.php +++ b/tests/MockAccountData.php @@ -503,7 +503,6 @@ trait MockAccountData $this->credit->status_id = Quote::STATUS_SENT; $this->credit->number = $this->getNextCreditNumber($this->client, $this->credit); - //$this->quote->service()->createInvitations()->markSent(); CreditInvitation::factory()->create([ 'user_id' => $user_id, @@ -524,6 +523,7 @@ trait MockAccountData $this->credit->save(); + $this->credit->service()->createInvitations()->markSent(); $this->purchase_order = PurchaseOrderFactory::create($this->company->id, $user_id);