Skip to content

Commit 4da2c9c

Browse files
committed
MC-36429: M 2.4.0 upgrading issue - Unable to apply patch Magento\Review\Setup\Patch\Schema\AddUniqueConstraintToReviewEntitySummary
1 parent 43a9515 commit 4da2c9c

File tree

1 file changed

+2
-0
lines changed
  • lib/internal/Magento/Framework/DB/Test/Unit/Adapter/Pdo

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/DB/Test/Unit/Adapter/Pdo/MysqlTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ public function testCheckDdlTransaction($ddlQuery)
153153

154154
public function testMultipleQueryException()
155155
{
156+
$this->expectException('Magento\Framework\Exception\LocalizedException');
157+
$this->expectExceptionMessage('Multiple queries can\'t be executed. Run a single query and try again.');
156158
$sql = "SELECT COUNT(*) AS _num FROM test; ";
157159
$sql .= "INSERT INTO test(id) VALUES (1); ";
158160
$sql .= "SELECT COUNT(*) AS _num FROM test; ";

0 commit comments

Comments
 (0)