Commit b4e15f25 authored by Steve Müller's avatar Steve Müller

Merge pull request #2340 from guilliamxavier/patch-1

Fix SQL queries numbering in test failure output
parents c664ce7f 571eead6
......@@ -59,7 +59,7 @@ class DbalFunctionalTestCase extends DbalTestCase
return var_export($p, true);
}
}, $query['params'] ?: array());
$queries .= ($i+1).". SQL: '".$query['sql']."' Params: ".implode(", ", $params).PHP_EOL;
$queries .= $i.". SQL: '".$query['sql']."' Params: ".implode(", ", $params).PHP_EOL;
$i--;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment