No need for field_name config removal as it's now specified as a class property
This commit is contained in:
parent
e45082893d
commit
c68b457703
|
@ -23,9 +23,6 @@ class FormSpamProtectionExtensionTest extends SapphireTest
|
|||
), new FieldList()
|
||||
);
|
||||
$this->form->disableSecurityToken();
|
||||
|
||||
//for the tests, ignore any field_name value set in config
|
||||
Config::inst()->remove('FormSpamProtectionExtension', 'field_name');
|
||||
}
|
||||
|
||||
public function testEnableSpamProtection()
|
||||
|
|
Loading…
Reference in New Issue