Changes between Initial Version and Version 1 of Ticket #39561, comment 12
- Timestamp:
- 02/20/2017 02:37:50 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39561, comment 12
initial v1 3 3 * add a fixture for the custom endpoints created by the [https://github.com/xwp/wp-js-widgets wp-js-widgets plugin] - this is a good test case for the route discovery/class naming code. 4 4 * add an additional test block, verifying the schema parsing correctly generates proper class names for each model and collection route. 5 * ensure nav-menu test passes when code loaded without tests executing (tests for unset 'assert') 5 6 6 7 Note: the tests surfaced one issue with the parsing - underscores are being left untouched - hence the class name `WidgetsTag_cloud`, this should probably be auto-transformed to `WidgetsTagCloud` similar to handling of `-`. I will address that in a separate ticket.