We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43a9515 commit 4da2c9cCopy full SHA for 4da2c9c
lib/internal/Magento/Framework/DB/Test/Unit/Adapter/Pdo/MysqlTest.php
@@ -153,6 +153,8 @@ public function testCheckDdlTransaction($ddlQuery)
153
154
public function testMultipleQueryException()
155
{
156
+ $this->expectException('Magento\Framework\Exception\LocalizedException');
157
+ $this->expectExceptionMessage('Multiple queries can\'t be executed. Run a single query and try again.');
158
$sql = "SELECT COUNT(*) AS _num FROM test; ";
159
$sql .= "INSERT INTO test(id) VALUES (1); ";
160
$sql .= "SELECT COUNT(*) AS _num FROM test; ";
0 commit comments