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

WordPress Trac noreply at wordpress.org
Mon Feb 20 14:50:25 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 adamsilverstein):

 Replying to [comment:43 jnylen0]:
 > [attachment:39264.13.diff] should resolve this.

 @jnylen0  - I addressed this slightly differently in
 https://core.trac.wordpress.org/attachment/ticket/39561/39561.4.diff -
 checking for the existence of each expected route in the returned routes
 rather than using the strict equality check. Can you review that approach?

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


More information about the wp-trac mailing list