diff --git a/tests/ConnectionTest.php b/tests/ConnectionTest.php index eae42842..56f4ecfc 100644 --- a/tests/ConnectionTest.php +++ b/tests/ConnectionTest.php @@ -147,8 +147,6 @@ public function testNotRestartConnectionOnTimeoutInTransaction(): void $db = $this->getConnection(); $db->beginTransaction(); - $db->getPDO()->errorCode(); - $db->createCommand('SET SESSION wait_timeout = 1')->execute(); sleep(1);