[wp-trac] [WordPress Trac] #53363: Test tool and unit test improvements for 5.9

WordPress Trac noreply at wordpress.org
Fri Nov 26 01:27:57 UTC 2021


#53363: Test tool and unit test improvements for 5.9
--------------------------------------+---------------------
 Reporter:  desrosj                   |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  5.9
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"52253" 52253]:
 {{{
 #!CommitTicketReference repository="" revision="52253"
 Tests: Remove unexpected output in `wp_dashboard_recent_drafts()` tests on
 PHP 8.1.

 This follows the approach used in other tests to let PHPUnit manage the
 output catching and effectively ignore the output until retrieving it
 later via `getActualOutput()`.

 Follow-up to [45505], [51968], [52173].

 See #53635, #53363.
 }}}

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


More information about the wp-trac mailing list