From 6528a7d82650a28e7e1d9e4e3ea56115f830f47e Mon Sep 17 00:00:00 2001 From: "Ralph J. Smit" <59207045+ralphjsmit@users.noreply.github.com> Date: Tue, 18 Mar 2025 16:50:54 +0100 Subject: [PATCH] Update ListRecordsTest.php --- tests/src/Panels/Resources/Pages/ListRecordsTest.php | 4 ++++ 1 file changed, 4 insertions(+) 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); });