mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-10-22 14:05:59 +02:00
FIX Update for polymorphic relationship for UserDefinedForm and child Fields
This commit is contained in:
parent
88b1b10f61
commit
e38c6c3a87
@ -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'
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user