Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable29] fix(message): Fix logic of Mail test #48764

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tests/lib/Mail/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,23 +92,23 @@ public function testSetRecipients(): void {
$this->symfonyEmail
->expects($this->once())
->method('from')
->willReturn(new Address('[email protected]', 'Pierres General Store'));
->with(new Address('[email protected]', 'Pierres General Store'));
$this->symfonyEmail
->expects($this->once())
->method('to')
->willReturn(new Address('[email protected]', "Lewis' Tent Life"));
->with(new Address('[email protected]', "Lewis' Tent Life"));
$this->symfonyEmail
->expects($this->once())
->method('replyTo')
->willReturn(new Address('[email protected]', 'Penny'));
->with(new Address('[email protected]', 'Penny'));
$this->symfonyEmail
->expects($this->once())
->method('cc')
->willReturn(new Address('[email protected]', 'Gunther'));
->with(new Address('[email protected]', 'Gunther'));
$this->symfonyEmail
->expects($this->once())
->method('bcc')
->willReturn(new Address('[email protected]', 'Pam'));
->with(new Address('[email protected]', 'Pam'));

$this->message->setRecipients();
}
Expand Down
Loading