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

WordPress Trac noreply at wordpress.org
Tue Sep 6 22:03:25 UTC 2022


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

Comment (by SergeyBiryukov):

 In [changeset:"54088" 54088]:
 {{{
 #!CommitTicketReference repository="" revision="54088"
 Tests: Correctly use the factory method.

 This replaces all non-static calls to the
 `WP_UnitTestCase_Base::factory()` method with static function calls, since
 the method is declared as static.

 This is a consistency improvement for the test suite.

 Follow up to [35225], [35242], [49603], [54087].

 Props jrf.
 See #55652.
 }}}

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


More information about the wp-trac mailing list