Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/core-libraries/email.md
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ using `Message::setBodyText()` and `Message::setBodyHtml()` methods.
## Testing Mailers

To test mailers, add `Cake\TestSuite\EmailTrait` to your test case.
The `MailerTrait` uses PHPUnit hooks to replace your application's email transports
The `EmailTrait` uses PHPUnit hooks to replace your application's email transports
with a proxy that intercepts email messages and allows you to do assertions
on the mail that would be delivered.

Expand Down