diff --git a/tests/MysqlExplainTest.php b/tests/MysqlExplainTest.php index be6231d..0100419 100644 --- a/tests/MysqlExplainTest.php +++ b/tests/MysqlExplainTest.php @@ -45,7 +45,7 @@ public function testSubmitQueryCollectsMetricsAndSubmitsThem(): void ->andReturn('mysql'); $mock->shouldReceive('queryScalar') ->withArgs([$connection, 'SELECT * FROM seq_1_to_1']) - ->andThrow(new QueryException("SQLSTATE[42S02]: Base table or view not found: 1146 Table 'seq_1_to_1' doesn't exist.", 'SELECT * FROM seq_1_to_1', [], new RuntimeException())); + ->andThrow(new QueryException("SQLSTATE[42S02]: Base table or view not found: 1146 Table 'seq_1_to_1' doesn't exist.", 'SELECT * FROM seq_1_to_1', [], new RuntimeException)); $mock->shouldReceive('queryScalar') ->withArgs([$connection, 'SELECT VERSION()']) ->andReturn('...version...');