diff --git a/tests/SQLQueryTest.php b/tests/SQLQueryTest.php index 8a869a80c..9090e7678 100644 --- a/tests/SQLQueryTest.php +++ b/tests/SQLQueryTest.php @@ -65,7 +65,7 @@ class SQLQueryTest extends SapphireTest { $match->setModel('SQLQueryTest_DO'); $match->apply($query); - $this->assertEquals("SELECT Name FROM SQLQueryTest_DO WHERE (SQLQueryTest_DO.Name = 'Value') AND (SQLQueryTest_DO.Meta LIKE '%Value%')", $query->sql()); + $this->assertEquals("SELECT Name FROM SQLQueryTest_DO WHERE (\"SQLQueryTest_DO\".\"Name\" = 'Value') AND (\"SQLQueryTest_DO\".\"Meta\" LIKE '%Value%')", $query->sql()); } function testSelectWithLimitClause() {