Apply rules to tests and tasks

This commit is contained in:
Mike Jolley
2024-03-18 13:44:47 +00:00
committed by Jan Jakeš
parent 435f638011
commit 0d6fe6e5eb
87 changed files with 399 additions and 254 deletions

View File

@@ -29,7 +29,8 @@ class SendingErrorHandlerTest extends \MailPoetTest {
MailerError::OPERATION_SEND,
MailerError::LEVEL_SOFT,
'Error Message',
null, $subscriberErrors
null,
$subscriberErrors
);
$scheduledTaskSubscribersRepository = Stub::make(
@@ -50,7 +51,8 @@ class SendingErrorHandlerTest extends \MailPoetTest {
);
$errorHandler = $this->getServiceWithOverrides(
SendingErrorHandler::class, [
SendingErrorHandler::class,
[
'scheduledTaskSubscribersRepository' => $scheduledTaskSubscribersRepository,
]
);
@@ -71,7 +73,8 @@ class SendingErrorHandlerTest extends \MailPoetTest {
);
$errorHandler = $this->getServiceWithOverrides(
SendingErrorHandler::class, [
SendingErrorHandler::class,
[
'sendingQueuesRepository' => $sendingQueuesRepository,
'loggerFactory' => Stub::makeEmpty(
LoggerFactory::class,