No need for field_name config removal as it's now specified as a class property

This commit is contained in:
James Ellis 2017-08-24 05:02:02 +00:00
parent e45082893d
commit c68b457703
1 changed files with 0 additions and 3 deletions

View File

@ -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()