Skip to content

Commit babf8c0

Browse files
committed
Fix schema issues.
1 parent 2ad18a0 commit babf8c0

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ public function test_expected_routes_in_schema() {
115115
'/wp/v2/media/(?P<id>[\\d]+)',
116116
'/wp/v2/media/(?P<id>[\\d]+)/post-process',
117117
'/wp/v2/media/(?P<id>[\\d]+)/edit',
118-
'/wp/v2/media/(?P<id>[\\d]+)/sideload',
119-
'/wp/v2/media/(?P<id>[\\d]+)/finalize',
120118
'/wp/v2/blocks',
121119
'/wp/v2/blocks/(?P<id>[\d]+)',
122120
'/wp/v2/blocks/(?P<id>[\d]+)/autosaves',

tests/qunit/fixtures/wp-api-generated.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,7 @@ mockedApiResponse.Schema = {
2424
"wp-collaboration/v1",
2525
"wp-sync/v1"
2626
],
27-
"authentication": {
28-
"application-passwords": {
29-
"endpoints": {
30-
"authorization": "http://example.org/wp-admin/authorize-application.php"
31-
}
32-
}
33-
},
27+
"authentication": [],
3428
"routes": {
3529
"/": {
3630
"namespace": "",

0 commit comments

Comments
 (0)