From 3bb82d43f6087ab38254bec1894f49f870c50e15 Mon Sep 17 00:00:00 2001 From: Mark Stephens Date: Mon, 20 Sep 2010 03:54:00 +0000 Subject: [PATCH] BUGFIX: ansi-compliant SQL in unit test --- tests/SubmittedFormTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/SubmittedFormTest.php b/tests/SubmittedFormTest.php index 637e0e7..bd13ce6 100644 --- a/tests/SubmittedFormTest.php +++ b/tests/SubmittedFormTest.php @@ -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); }