[wp-trac] [WordPress Trac] #39561: REST API JavaScript client: Correct name route discovery for custom namespaces
WordPress Trac
noreply at wordpress.org
Fri Feb 24 18:39:41 UTC 2017
#39561: REST API JavaScript client: Correct name route discovery for custom
namespaces
-------------------------------------------------+-------------------------
Reporter: adamsilverstein | Owner:
Type: defect (bug) | adamsilverstein
Priority: normal | Status: closed
Component: REST API | Milestone: 4.7.3
Severity: normal | Version: 4.7
Keywords: fixed-major needs-unit-tests commit | Resolution: fixed
| Focuses: javascript
-------------------------------------------------+-------------------------
Changes (by adamsilverstein):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"40109"]:
{{{
#!CommitTicketReference repository="" revision="40109"
REST API: JS client - QUnit tests for custom namespace route discovery.
Add QUnit tests for the parsing of custom namespace routes. Add a custom
schema fixture based on the `wp-js-widgets` plugin. Test that the client
can parse the widget namespace in the schema and correctly construct the
expected group of models and collections. Also includes a small unrelated
QUnit fix to ensure nav-menu test passes when it is loaded without its
tests executing as well as a small jshint fix, adding a missing semicolon
since [40107].
Props jnylen0.
Fixes #39561.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39561#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list