[wp-trac] [WordPress Trac] #36658: Adding method to reset the mocked phpmailer instance
WordPress Trac
noreply at wordpress.org
Mon Apr 25 02:17:01 UTC 2016
#36658: Adding method to reset the mocked phpmailer instance
------------------------------+------------------------------------
Reporter: welcher | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords: has-patch dev-feedback
Focuses: |
------------------------------+------------------------------------
Added a new decorator method to rest the mock phpmailer object to make it
more clear as to what the code is doing. Also, I removed the `tests_`
prefix from the `retrieve_phpmailer_instance` method as it is not needed
and may cause confusion as it does not contain any tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36658>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list