From 4cdac671e7042b551113bb25e337b7da76249703 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Wed, 28 Aug 2024 13:57:05 +0700 Subject: [PATCH] Do not restart connection in transaction --- tests/ConnectionTest.php | 2 -- 1 file changed, 2 deletions(-) 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);