MINOR FIX: column names escaped properly

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@87570 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Geoff Munn 2009-09-29 22:03:30 +00:00
parent 59e5e25fbc
commit 6f9a17621a

View File

@ -161,7 +161,7 @@ class SQLQueryTest extends SapphireTest {
); );
$query = new SQLQuery(); $query = new SQLQuery();
$query->where[] = "MyTable.`ID`= 5"; $query->where[] = "MyTable.ID= 5";
$this->assertTrue( $this->assertTrue(
$query->filtersOnID(), $query->filtersOnID(),
"filtersOnID() is true with table and quoted column name " "filtersOnID() is true with table and quoted column name "