Skip to content

Commit bbbbb21

Browse files
committed
minor #34215 Fix typo (fabpot)
This PR was merged into the 4.4 branch. Discussion ---------- Fix typo | Q | A | ------------- | --- | Branch? | 4.4 <!-- see below --> | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/a <!-- prefix each issue number with "Fix #", if any --> | License | MIT | Doc PR | n/a <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/roadmap): - Always add tests and ensure they pass. - Never break backward compatibility (see https://symfony.com/bc). - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too.) - Features and deprecations must be submitted against branch 4.4. - Legacy code removals go to the master branch. --> Commits ------- 327a13c Fix typo
2 parents 3936b78 + 327a13c commit bbbbb21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Test/MailerAssertionsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static function assertEmailIsNotQueued(MessageEvent $event, string $messa
4040
self::assertThat($event, new LogicalNot(new MailerConstraint\EmailIsQueued()), $message);
4141
}
4242

43-
public static function assertEmailAttachementCount(RawMessage $email, int $count, string $message = ''): void
43+
public static function assertEmailAttachmentCount(RawMessage $email, int $count, string $message = ''): void
4444
{
4545
self::assertThat($email, new MimeConstraint\EmailAttachmentCount($count), $message);
4646
}

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/MailerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function testMailerAssertions()
9292
$this->assertEmailTextBodyNotContains($email, 'Foo');
9393
$this->assertEmailHtmlBodyContains($email, 'Foo');
9494
$this->assertEmailHtmlBodyNotContains($email, 'Bar');
95-
$this->assertEmailAttachementCount($email, 1);
95+
$this->assertEmailAttachmentCount($email, 1);
9696

9797
$email = $this->getMailerMessage($second);
9898
$this->assertEmailAddressContains($email, 'To', 'fabien@symfony.com');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy