Add SettingsController cache reset to integration tests

[MAILPOET-1757]
This commit is contained in:
Rostislav Wolny
2019-01-25 13:52:42 +01:00
parent f7aecf1d63
commit 4c6e76dd44
100 changed files with 120 additions and 17 deletions

View File

@ -11,6 +11,7 @@ use MailPoet\Util\Helpers;
class SendingQueueTest extends \MailPoetTest {
function _before() {
parent::_before();
$this->queue = SendingQueue::create();
$this->queue->task_id = 0;
$this->queue->newsletter_id = 1;
@ -139,4 +140,4 @@ class SendingQueueTest extends \MailPoetTest {
\ORM::raw_execute('TRUNCATE ' . ScheduledTaskSubscriber::$_table);
\ORM::raw_execute('TRUNCATE ' . SendingQueue::$_table);
}
}
}