Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39561, comment 12


Ignore:
Timestamp:
02/20/2017 02:37:50 PM (8 years ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39561, comment 12

    initial v1  
    33* 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.
    44* 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')
    56
    67Note: 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.