diff --git a/packages/forms/docs/09-testing.md b/packages/forms/docs/09-testing.md index 93f87ce25c9..b4b50e98497 100644 --- a/packages/forms/docs/09-testing.md +++ b/packages/forms/docs/09-testing.md @@ -390,7 +390,7 @@ it('can send invoices', function () { 'invoice' => $invoice, ]) ->mountFormComponentAction('customer_id', 'send') - ->setFormComponentActionData('customer_id', 'send', data: [ + ->setFormComponentActionData([ 'email' => $email = fake()->email(), ]) }); diff --git a/packages/infolists/docs/08-testing.md b/packages/infolists/docs/08-testing.md index 694fe9cdebb..5860b4bb8bc 100644 --- a/packages/infolists/docs/08-testing.md +++ b/packages/infolists/docs/08-testing.md @@ -62,7 +62,7 @@ it('can send invoices', function () { 'invoice' => $invoice, ]) ->mountInfolistAction('customer', 'send') - ->setInfolistActionData('customer', 'send', data: [ + ->setInfolistActionData([ 'email' => $email = fake()->email(), ]) });