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

WordPress Trac noreply at wordpress.org
Thu Feb 16 23:18:42 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:  needs-patch      |     Focuses:  javascript
-----------------------------+------------------------------

Comment (by jnylen0):

 In [attachment:39264.11.diff]:

 - Remove `JSON_UNESCAPED_SLASHES` which is not supported on PHP < 5.4.
 This wasn't very important anyway.
 - Update the results of `grunt restapi-jsclient`.
 - Ensure that `phpunit` fails with a non-zero exit code if its config file
 is missing.  Previously, when running `grunt restapi-jsclient`, the next
 Grunt task would incorrectly proceed even if its first step (the `phpunit`
 run) failed with this error.

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


More information about the wp-trac mailing list