Commit 2736fd51 authored by Marco Pivetta's avatar Marco Pivetta

#2318 DBAL-831 adding note about possible fragile test comparing entire SQL query strings

parent e38feb4f
...@@ -712,6 +712,9 @@ EOD; ...@@ -712,6 +712,9 @@ EOD;
*/ */
public function testReturnsGetListTableColumnsSQL($database, $expectedSql) public function testReturnsGetListTableColumnsSQL($database, $expectedSql)
{ {
// note: this assertion is a bit strict, as it compares a full SQL string.
// Should this break in future, then please try to reduce the matching to substring matching while reworking
// the tests
$this->assertEquals($expectedSql, $this->_platform->getListTableColumnsSQL('"test"', $database)); $this->assertEquals($expectedSql, $this->_platform->getListTableColumnsSQL('"test"', $database));
} }
......
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