From ea50b74aba5bc98edcc19aeeef96f4ac494cd43a Mon Sep 17 00:00:00 2001 From: arshaviras Date: Thu, 20 Mar 2025 13:07:20 +0000 Subject: [PATCH] chore: fix code style --- tests/src/Panels/Resources/Pages/EditRecordTest.php | 2 +- tests/src/Panels/Resources/Pages/ListRecordsTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/Panels/Resources/Pages/EditRecordTest.php b/tests/src/Panels/Resources/Pages/EditRecordTest.php index f11e704f67..14de534410 100644 --- a/tests/src/Panels/Resources/Pages/EditRecordTest.php +++ b/tests/src/Panels/Resources/Pages/EditRecordTest.php @@ -117,7 +117,7 @@ test('actions will not interfere with database transactions on an error', functi $transactionLevel = DB::transactionLevel(); try { - livewire(PostResource\Pages\EditPost::class, [ + livewire(EditPost::class, [ 'record' => $post->getKey(), ]) ->callAction('randomize_title'); diff --git a/tests/src/Panels/Resources/Pages/ListRecordsTest.php b/tests/src/Panels/Resources/Pages/ListRecordsTest.php index fc5099c36a..c7ecc24b4e 100644 --- a/tests/src/Panels/Resources/Pages/ListRecordsTest.php +++ b/tests/src/Panels/Resources/Pages/ListRecordsTest.php @@ -123,7 +123,7 @@ test('table actions will not interfere with database transactions on an error', $transactionLevel = DB::transactionLevel(); try { - livewire(PostResource\Pages\ListPosts::class) + livewire(ListPosts::class) ->callTableAction('randomize_title', $post); } catch (Exception $e) { // This can be catched and handled somewhere else, code continues...