mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge branch 'rjs/prevent-catching-db-commit-side-effects' of github.com:ralphjsmit/filament into rjs/prevent-catching-db-commit-side-effects
This commit is contained in:
@@ -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