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

WordPress Trac noreply at wordpress.org
Thu Jun 24 10:04:54 UTC 2021


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

Comment (by SergeyBiryukov):

 In [changeset:"51226" 51226]:
 {{{
 #!CommitTicketReference repository="" revision="51226"
 Tests: Require PHPUnit >= 6 in tests using `::createPartialMock()`.

 This avoids a "Call to undefined method" fatal error when running the
 tests with PHPUnit 5.4.x, which WordPress still supports as the minimum
 version.

 Follow-up to [48945], [48947].

 See #52625.
 }}}

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


More information about the wp-trac mailing list