Skip to content

Commit 4dbb836

Browse files
committed
Add missing routes in REST schema setup for tests
1 parent 9f9310d commit 4dbb836

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/phpunit/tests/rest-api/rest-schema-setup.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ public function test_expected_routes_in_schema() {
195195
'/wp/v2/font-families/(?P<font_family_id>[\d]+)/font-faces',
196196
'/wp/v2/font-families/(?P<font_family_id>[\d]+)/font-faces/(?P<id>[\d]+)',
197197
'/wp/v2/font-families/(?P<id>[\d]+)',
198+
'/wp/v2/ability-categories',
199+
'/wp/v2/ability-categories/(?P<slug>[a-z0-9]+(?:-[a-z0-9]+)*)',
198200
'/wp/v2/abilities/(?P<name>[a-zA-Z0-9\-\/]+?)/run',
199201
'/wp/v2/abilities/(?P<name>[a-zA-Z0-9\-\/]+)',
200202
'/wp/v2/abilities',

0 commit comments

Comments
 (0)