- Timestamp:
- 12/14/2021 06:22:07 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-schema-setup.php
r52272 r52376 70 70 } 71 71 72 /** 73 * @ticket 54596 74 */ 72 75 public function test_expected_routes_in_schema() { 73 76 $routes = rest_get_server()->get_routes(); … … 133 136 '/wp/v2/comments', 134 137 '/wp/v2/comments/(?P<id>[\\d]+)', 135 '/wp/v2/global-styles/(?P<id>[\/\ w-]+)',136 '/wp/v2/global-styles/themes/(?P<stylesheet>[ ^.\/]+(?:\/[^.\/]+)?)',138 '/wp/v2/global-styles/(?P<id>[\/\s%\w\.\(\)\[\]\@_\-]+)', 139 '/wp/v2/global-styles/themes/(?P<stylesheet>[\/\s%\w\.\(\)\[\]\@_\-]+)', 137 140 '/wp/v2/search', 138 141 '/wp/v2/block-renderer/(?P<name>[a-z0-9-]+/[a-z0-9-]+)', … … 142 145 '/wp/v2/settings', 143 146 '/wp/v2/template-parts', 144 '/wp/v2/template-parts/(?P<id>[\/\ w-]+)',147 '/wp/v2/template-parts/(?P<id>[\/\s%\w\.\(\)\[\]\@_\-]+)', 145 148 '/wp/v2/template-parts/(?P<id>[\d]+)/autosaves', 146 149 '/wp/v2/template-parts/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)', … … 148 151 '/wp/v2/template-parts/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)', 149 152 '/wp/v2/templates', 150 '/wp/v2/templates/(?P<id>[\/\ w-]+)',153 '/wp/v2/templates/(?P<id>[\/\s%\w\.\(\)\[\]\@_\-]+)', 151 154 '/wp/v2/templates/(?P<id>[\d]+)/autosaves', 152 155 '/wp/v2/templates/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)',
Note: See TracChangeset
for help on using the changeset viewer.