Tests: Add decorators to PHPMailer mock object.

The new `get_recipient()` and `get_sent()` methods greatly simplify the
syntax required when writing tests for `wp_mail()`.

Props welcher.
Fixes #34161.
Built from https://develop.svn.wordpress.org/trunk@36594


git-svn-id: http://core.svn.wordpress.org/trunk@36561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2016-02-20 03:41:27 +00:00
parent 9fdb970ceb
commit 26955c8507
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36593';
$wp_version = '4.5-alpha-36594';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.