wp_mail(): Expectations
- Put expected results in a file
-
File named for unit test's
__METHOD__
-
Replace
::
with--
(placate Windows) -
Example:
LoginTest--test_notify_login
-
In the
tests/expected/<language_REGION>
directory (egen_US
)
To: %a Subject: howdy %s just logged in to %s.