[wp-trac] [WordPress Trac] #39264: Add WP-API JS Client unit tests to core

WordPress Trac noreply at wordpress.org
Sun Feb 19 20:14:19 UTC 2017


#39264: Add WP-API JS Client unit tests to core
-----------------------------+------------------------------
 Reporter:  adamsilverstein  |       Owner:  adamsilverstein
     Type:  enhancement      |      Status:  reopened
 Priority:  normal           |   Milestone:  4.7.3
Component:  REST API         |     Version:  4.7
 Severity:  normal           |  Resolution:
 Keywords:  fixed-major      |     Focuses:  javascript
-----------------------------+------------------------------

Comment (by jnylen0):

 Replying to [comment:42 rachelbaker]:
 > The test in
 `WP_Test_REST_Schema_Initialization->test_expected_routes_in_schema()` is
 so strict that it will fail when being run alongside any WP theme or
 plugin that registers custom endpoints.

 [attachment:39264.13.diff] should resolve this.

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


More information about the wp-trac mailing list