From 7dcf20d627b0f52840868fc65e08261200a45336 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sun, 29 Mar 2009 21:49:48 +0000 Subject: [PATCH] MINOR: Fixed test to get previous change to work git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@73764 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tests/SQLQueryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/SQLQueryTest.php b/tests/SQLQueryTest.php index 158f88e9c..2bf8c3fb4 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() {