diff --git a/tests/Feature/Banking/TransactionsTest.php b/tests/Feature/Banking/TransactionsTest.php index b6bab4b90..6580ccf86 100644 --- a/tests/Feature/Banking/TransactionsTest.php +++ b/tests/Feature/Banking/TransactionsTest.php @@ -240,7 +240,7 @@ class TransactionsTest extends FeatureTestCase return [ 'transaction_id' => $transaction->id, - 'to' => $transaction->contact->email, + 'to' => [$transaction->contact->email], 'subject' => $notification->getSubject(), 'body' => $notification->getBody(), ]; diff --git a/tests/Feature/Sales/InvoicesTest.php b/tests/Feature/Sales/InvoicesTest.php index 3aad6da17..430d2e808 100644 --- a/tests/Feature/Sales/InvoicesTest.php +++ b/tests/Feature/Sales/InvoicesTest.php @@ -300,7 +300,7 @@ class InvoicesTest extends FeatureTestCase return [ 'document_id' => $invoice->id, - 'to' => $invoice->contact->email, + 'to' => [$invoice->contact->email], 'subject' => $notification->getSubject(), 'body' => $notification->getBody(), ];