Add SettingsController cache reset to integration tests
[MAILPOET-1757]
This commit is contained in:
@ -10,6 +10,7 @@ if(!defined('ABSPATH')) exit;
|
||||
|
||||
class ShortcodesTest extends \MailPoetTest {
|
||||
function _before() {
|
||||
parent::_before();
|
||||
$this->WP_post = wp_insert_post(
|
||||
array(
|
||||
'post_title' => 'Sample Post',
|
||||
@ -51,4 +52,4 @@ class ShortcodesTest extends \MailPoetTest {
|
||||
\ORM::raw_execute('TRUNCATE ' . Newsletter::$_table);
|
||||
wp_delete_post($this->WP_post, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user