Commit 48c8a661 authored by Marco Pivetta's avatar Marco Pivetta

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

parent ae80eb9c
...@@ -710,6 +710,9 @@ EOD; ...@@ -710,6 +710,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