Add SettingsController cache reset to integration tests
[MAILPOET-1757]
This commit is contained in:
@ -9,6 +9,7 @@ class RequiredCustomFieldValidatorTest extends \MailPoetTest {
|
||||
private $custom_field;
|
||||
|
||||
function _before() {
|
||||
parent::_before();
|
||||
\ORM::raw_execute('TRUNCATE ' . CustomField::$_table);
|
||||
$this->custom_field = CustomField::createOrUpdate([
|
||||
'name' => 'custom field',
|
||||
@ -45,4 +46,4 @@ class RequiredCustomFieldValidatorTest extends \MailPoetTest {
|
||||
$validator->validate(['cf_' . $this->custom_field->id() => '']);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user