[wp-trac] [WordPress Trac] #54420: Tests: Mock REST API remote requests

WordPress Trac noreply at wordpress.org
Tue Nov 16 13:05:14 UTC 2021


#54420: Tests: Mock REST API remote requests
------------------------------+-----------------------------
 Reporter:  hellofromTonya    |       Owner:  hellofromTonya
     Type:  task (blessed)    |      Status:  reopened
 Priority:  normal            |   Milestone:  6.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  rest-api
------------------------------+-----------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch has-unit-tests => needs-patch


Comment:

 Tests in `Tests_Admin_IncludesTheme::test_get_theme_featured_list_api()`
 timed out in this [https://github.com/WordPress/wordpress-
 develop/runs/4222801461?check_suite_focus=true CI Job], i.e. `Run external
 HTTP tests`. Noting it here as another test for mocking the HTTP remote
 request.

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


More information about the wp-trac mailing list