Skip to content

Commit 60aaf98

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 ------- 327a13cac0 Fix typo
2 parents 73e0fc5 + 9b64692 commit 60aaf98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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
}

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', '[email protected]');

0 commit comments

Comments
 (0)