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

@ -7,6 +7,7 @@ use MailPoet\Models\Setting;
class SupervisorTest extends \MailPoetTest {
function _before() {
parent::_before();
// cron trigger is by default set to 'WordPress'; when it runs and does not
// detect any queues to process, it deletes the daemon setting, so Supervisor and
// CronHelper's getDaemon() methods do not work. for that matter, we need to set