Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
Signed-off-by: MarioRadu <[email protected]>
  • Loading branch information
MarioRadu committed Nov 29, 2024
1 parent 44910ae commit dc2cf16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Unit/Contact/Service/MessageServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function testProcessMessage(): void
$mailService = $this->createMock(MailServiceInterface::class);
$template = $this->createMock(TemplateRendererInterface::class);
$result = $this->createMock(ResultInterface::class);
$mail = $this->createMock(Email::class);
$mail = $this->createMock(Email::class);

$mail->expects($this->once())->method('addFrom')->willReturn($mail);
$result->expects($this->once())->method('isValid')->willReturn(true);
Expand Down

0 comments on commit dc2cf16

Please sign in to comment.