[wp-trac] [WordPress Trac] #42098: Simplify output tests with expectOutputString()

WordPress Trac noreply at wordpress.org
Sun Dec 10 00:30:34 UTC 2017


#42098: Simplify output tests with expectOutputString()
------------------------------+--------------------------
 Reporter:  birgire           |       Owner:  johnbillion
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+--------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42382"]:
 {{{
 #!CommitTicketReference repository="" revision="42382"
 Build/Test tools: Switch to PHPUnit's `expectOutputString()` method
 instead of manually using output buffers for output assertions.

 Props birgire
 Fixes #42098
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42098#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list