Skip to content

Commit a608c74

Browse files
Update MailerAssertionsTrait.php
`example.com` is the "official" domain for such things: http://example.com/ For the removal, see Codeception#120 (comment)
1 parent c2c94c9 commit a608c74

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Codeception/Module/Symfony/MailerAssertionsTrait.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function seeEmailIsSent(int $expectedCount = 1): void
4848
* <?php
4949
* $email = $I->grabLastSentEmail();
5050
* $address = $email->getTo()[0];
51-
* $I->assertSame('john_doe@user.com', $address->getAddress());
51+
* $I->assertSame('john_doe@example.com', $address->getAddress());
5252
* ```
5353
*
5454
* @return \Symfony\Component\Mime\Email|null
@@ -72,8 +72,6 @@ public function grabLastSentEmail(): ?Email
7272
* ```php
7373
* <?php
7474
* $emails = $I->grabSentEmails();
75-
* $address = $emails[0]->getTo()[0];
76-
* $I->assertSame('john_doe@user.com', $address->getAddress());
7775
* ```
7876
*
7977
* @return \Symfony\Component\Mime\Email[]

0 commit comments

Comments
 (0)