FIX Update for polymorphic relationship for UserDefinedForm and child Fields

This commit is contained in:
Robbie Averill 2017-11-02 14:46:15 +13:00
parent 88b1b10f61
commit e38c6c3a87
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ class EditableSpamProtectionFieldTest extends SapphireTest
$editableFormFieldMock = new EditableSpamProtectionField(array(
'ParentID' => $page->ID,
'ParentClass' => get_class($page),
'Name' => 'MyField',
'CustomErrorMessage' => 'default error message'
));