wordpress-develop/tests/phpunit/tests/pluggable
Sergey Biryukov 308dd0ae53 Tests: Add unique messages to assertions for attachment filenames in wp_mail().
This makes the assertions more helpful, as per the [https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#using-assertions Writing PHP Tests] guidelines:
> All PHPUnit assertions, as well as all WordPress custom assertions, allow for a `$message` parameter to be passed. This message will be displayed when the assertion fails and can help immensely when debugging a test. This parameter should always be used if more than one assertion is used in a test method.

Follow-up to [55030], [55032].

Props mukesh27, costdev.
See #28407.

git-svn-id: https://develop.svn.wordpress.org/trunk@55087 602fd350-edb4-49c9-b593-d223f7449a82
2023-01-18 12:58:05 +00:00
..
signatures.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/pluggable.php. 2022-12-09 00:22:14 +00:00
wpMail.php Tests: Add unique messages to assertions for attachment filenames in wp_mail(). 2023-01-18 12:58:05 +00:00
wpRand.php Tests: Move wp_mail() tests to the pluggable directory. 2022-10-27 15:21:47 +00:00