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

WordPress Trac noreply at wordpress.org
Sun Feb 4 22:02:17 UTC 2024


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

Comment (by peterwilsoncc):

 In [changeset:"57531" 57531]:
 {{{
 #!CommitTicketReference repository="" revision="57531"
 Build/Test Tools: Mock plugin API response in
 `WP_REST_Plugins_Controller_Test`.

 Avoid false test failures due to network conditions in the
 `WP_REST_Plugins_Controller_Test` class. This mocks HTTP responses from
 the plugin information endpoint for the link-manager plugin.

 Props: peterwilsoncc, costdev.
 See #59647.
 }}}

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


More information about the wp-trac mailing list