[wp-trac] [WordPress Trac] #34161: PhpMailer mock decorator methods
WordPress Trac
noreply at wordpress.org
Tue Oct 6 17:32:57 UTC 2015
#34161: PhpMailer mock decorator methods
------------------------------------+------------------------------
Reporter: welcher | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by DrewAPicture):
This approach definitely seems a lot cleaner, though that's a lot of code
to make 10 assertions shorter.
Can you also add access modifiers to the new methods? And I'm not terribly
concerned about the docs formatting in tests as long as it gets the
message across.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34161#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list