diff --git a/src/Symfony/Bundle/FrameworkBundle/Test/MailerAssertionsTrait.php b/src/Symfony/Bundle/FrameworkBundle/Test/MailerAssertionsTrait.php index c709fea0f212f..15446a898f5cd 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Test/MailerAssertionsTrait.php +++ b/src/Symfony/Bundle/FrameworkBundle/Test/MailerAssertionsTrait.php @@ -40,7 +40,7 @@ public static function assertEmailIsNotQueued(MessageEvent $event, string $messa self::assertThat($event, new LogicalNot(new MailerConstraint\EmailIsQueued()), $message); } - public static function assertEmailAttachementCount(RawMessage $email, int $count, string $message = ''): void + public static function assertEmailAttachmentCount(RawMessage $email, int $count, string $message = ''): void { self::assertThat($email, new MimeConstraint\EmailAttachmentCount($count), $message); } diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/MailerTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/MailerTest.php index 29f8fe972d9b7..ec293315cafaa 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/MailerTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/MailerTest.php @@ -92,7 +92,7 @@ public function testMailerAssertions() $this->assertEmailTextBodyNotContains($email, 'Foo'); $this->assertEmailHtmlBodyContains($email, 'Foo'); $this->assertEmailHtmlBodyNotContains($email, 'Bar'); - $this->assertEmailAttachementCount($email, 1); + $this->assertEmailAttachmentCount($email, 1); $email = $this->getMailerMessage($second); $this->assertEmailAddressContains($email, 'To', 'fabien@symfony.com');
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: