Fix various undefined variables and argument types [MAILPOET-2488]

This commit is contained in:
wxa
2019-12-26 18:51:14 +03:00
committed by amine-mp
parent 17b578a09f
commit cde877122a
12 changed files with 23 additions and 17 deletions

View File

@@ -194,6 +194,7 @@ class MailerLogTest extends \MailPoetTest {
public function testItPausesSendingAfterProcessingSendingError() {
$mailer_log = MailerLog::getMailerLog();
expect($mailer_log['error'])->null();
$error = null;
try {
MailerLog::processError($operation = 'send', $error = 'email rejected - sending paused', $error_code = null, $pause_sending = true);
$this->fail('Paused sending exception was not thrown.');