Fix various undefined variables and argument types [MAILPOET-2488]
This commit is contained in:
@@ -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.');
|
||||
|
Reference in New Issue
Block a user