mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
chore: fix code style
This commit is contained in:
committed by
github-actions[bot]
parent
6cbf57fd9e
commit
ea50b74aba
@@ -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');
|
||||
|
||||
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user