add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
@@ -7,7 +7,6 @@ use App\Services\EmailService;
class CommunicationSendService
{
private EmailService $mailer;
private CommunicationLogService $logService;
public function __construct(EmailService $mailer, CommunicationLogService $logService)
@@ -62,7 +61,7 @@ class CommunicationSendService
$sendOk = false;
}
if (! $sendOk && $error === null) {
if (!$sendOk && $error === null) {
$error = 'Mailer returned false';
}
@@ -91,7 +90,6 @@ class CommunicationSendService
private function normalizeEmails(array $values): array
{
$out = array_values(array_unique(array_filter(array_map('strval', $values))));
return array_values(array_filter($out, static function ($email) {
return $email !== '';
}));