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
This commit is contained in:
commit
bbbbb2189a
@ -40,7 +40,7 @@ trait MailerAssertionsTrait
|
||||
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);
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ class MailerTest extends AbstractWebTestCase
|
||||
$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');
|
||||
|
Reference in New Issue
Block a user