Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 29cbf00

Browse files
committed
test(service): Email "" does not comply with addr-spec of RFC 2822.
1 parent 6b16695 commit 29cbf00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Service/EmailServiceTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testSendWithoutBcc(): void
3333
})
3434
;
3535

36-
$emailService = new EmailService($mailer, 'test@example.com', '', 10);
36+
$emailService = new EmailService($mailer, 'test@example.com', 'test+example@example.com', 10);
3737
$emailDto = (new EmailDto())
3838
->setSubject('Test')
3939
->setToAddress('test2@gmail.com')
@@ -60,7 +60,7 @@ public function testSendWithBcc(): void
6060
})
6161
;
6262

63-
$emailService = new EmailService($mailer, 'test@example.com', '', 10);
63+
$emailService = new EmailService($mailer, 'test@example.com', 'test+example@example.com', 10);
6464
$emailDto = (new EmailDto())
6565
->setSubject('Test')
6666
->setToAddress('test2@gmail.com')
@@ -107,7 +107,7 @@ public function testSendWithChunkedBcc(): void
107107
})
108108
;
109109

110-
$emailService = new EmailService($mailer, 'test@example.com', '', 10);
110+
$emailService = new EmailService($mailer, 'test@example.com', 'test+example@example.com', 10);
111111
$emailDto = (new EmailDto())
112112
->setSubject('Test')
113113
->setToAddress('test@example.com')

0 commit comments

Comments
 (0)