diff --git a/tests/src/Panels/Resources/Pages/ListRecordsTest.php b/tests/src/Panels/Resources/Pages/ListRecordsTest.php index 18f3c5d7c2..06a214aef0 100644 --- a/tests/src/Panels/Resources/Pages/ListRecordsTest.php +++ b/tests/src/Panels/Resources/Pages/ListRecordsTest.php @@ -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); });