-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the mail fake to not be really stupid.
Now it works more similarly to the other fakes and you can just use $mailable->hasTo ->hasCc, etc. to make sure it has a given recipient within your passed callable. The callable simply receives the mailable instance. Properties on mailable are public for easy inspection.
- Loading branch information
1 parent
fb29b38
commit b1d8f81
Showing
2 changed files
with
20 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters