[wp-trac] [WordPress Trac] #34161: PhpMailer mock decorator methods
WordPress Trac
noreply at wordpress.org
Sat Feb 20 03:40:51 UTC 2016
#34161: PhpMailer mock decorator methods
-------------------------------------------------+-------------------------
Reporter: welcher | Owner:
Type: enhancement | boonebgorges
Priority: normal | Status: closed
Component: Build/Test Tools | Milestone: 4.5
Severity: normal | Version:
Keywords: has-patch dev-feedback has-unit- | Resolution: fixed
tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by boonebgorges):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"36594"]:
{{{
#!CommitTicketReference repository="" revision="36594"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34161#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list