We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c94c9 commit a608c74Copy full SHA for a608c74
src/Codeception/Module/Symfony/MailerAssertionsTrait.php
@@ -48,7 +48,7 @@ public function seeEmailIsSent(int $expectedCount = 1): void
48
* <?php
49
* $email = $I->grabLastSentEmail();
50
* $address = $email->getTo()[0];
51
- * $I->assertSame('john_doe@user.com', $address->getAddress());
+ * $I->assertSame('john_doe@example.com', $address->getAddress());
52
* ```
53
*
54
* @return \Symfony\Component\Mime\Email|null
@@ -72,8 +72,6 @@ public function grabLastSentEmail(): ?Email
72
* ```php
73
74
* $emails = $I->grabSentEmails();
75
- * $address = $emails[0]->getTo()[0];
76
77
78
79
* @return \Symfony\Component\Mime\Email[]
0 commit comments