diff --git a/tests/Schema/TestCaseTest.php b/tests/Schema/TestCaseTest.php index bc57626a5..592e99f8a 100644 --- a/tests/Schema/TestCaseTest.php +++ b/tests/Schema/TestCaseTest.php @@ -89,6 +89,7 @@ public function testLogQuery(): void catch if ERROR_NUMBER() = 544 begin set IDENTITY_INSERT `t` on; + begin try insert into `t` ( `name`, `file`, `int`, @@ -100,12 +101,14 @@ public function testLogQuery(): void 'Ewa', 'x y', 1, 1.0, 1, NULL, '2020-10-20', '["z"]' ); + set IDENTITY_INSERT `t` off; end try begin catch set IDENTITY_INSERT `t` off; + throw; end catch end