mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update ListRecordsTest.php
This commit is contained in:
@@ -131,6 +131,8 @@ test('actions will not interfere with database transactions on an error', functi
|
||||
// This can be catched and handled somewhere else, code continues...
|
||||
}
|
||||
|
||||
// Original transaction level should be unaffected...
|
||||
|
||||
expect(DB::transactionLevel())
|
||||
->toBe($transactionLevel);
|
||||
});
|
||||
@@ -147,6 +149,8 @@ test('table actions will not interfere with database transactions on an error',
|
||||
// This can be catched and handled somewhere else, code continues...
|
||||
}
|
||||
|
||||
// Original transaction level should be unaffected...
|
||||
|
||||
expect(DB::transactionLevel())
|
||||
->toBe($transactionLevel);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user