BUGFIX: ansi-compliant SQL in unit test

This commit is contained in:
Mark Stephens 2010-09-20 03:54:00 +00:00
parent 5508a5db90
commit 3bb82d43f6

View File

@ -105,7 +105,7 @@ class SubmittedFormTest extends FunctionalTest {
$this->assertEquals($form->Values()->Count(), 2);
$form->delete();
$fields = DataObject::get('SubmittedFormField', "ParentID = '$form->ID'");
$fields = DataObject::get('SubmittedFormField', "\"ParentID\" = '$form->ID'");
$this->assertNull($fields);
}