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

WordPress Trac noreply at wordpress.org
Sat Feb 18 19:29: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 jnylen0):

 In [changeset:"40077"]:
 {{{
 #!CommitTicketReference repository="" revision="40077"
 REST API: Skip generating the client test fixtures in multisite mode.

 There are a couple of changes to the generated API schemas between single-
 site and multisite mode - for example, the `url` and `email` settings are
 not present in the settings endpoint (see #39005).

 To avoid unexpected changes to the `wp-api-generated.js` fixture file,
 skip generating the client test fixtures when running the test suite in
 multisite mode.

 See #39264.
 }}}

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


More information about the wp-trac mailing list