Skip to content

Commit f5568da

Browse files
committed
Updates fixture file after running npm run test:php -- --filter WP_Test_REST_Schema_Initialization.
1 parent 17a5737 commit f5568da

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

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

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,7 @@ mockedApiResponse.Schema = {
2121
"wp-site-health/v1",
2222
"wp-block-editor/v1"
2323
],
24-
"authentication": {
25-
"application-passwords": {
26-
"endpoints": {
27-
"authorization": "http://example.org/wp-admin/authorize-application.php"
28-
}
29-
}
30-
},
24+
"authentication": [],
3125
"routes": {
3226
"/": {
3327
"namespace": "",
@@ -14053,10 +14047,10 @@ mockedApiResponse.CommentsCollection = [
1405314047
"status": "approved",
1405414048
"type": "comment",
1405514049
"post_details": {
14056-
"id": 37283,
14050+
"id": 4,
1405714051
"title": "REST API Client Fixture: Post",
1405814052
"type": "post",
14059-
"link": "http://example.org/index.php?rest_route=/wp/v2/posts/37283"
14053+
"link": "http://example.org/index.php?rest_route=/wp/v2/posts/4"
1406014054
},
1406114055
"i_replied": false,
1406214056
"can_moderate": true,
@@ -14115,10 +14109,10 @@ mockedApiResponse.CommentModel = {
1411514109
"status": "approved",
1411614110
"type": "comment",
1411714111
"post_details": {
14118-
"id": 37283,
14112+
"id": 4,
1411914113
"title": "REST API Client Fixture: Post",
1412014114
"type": "post",
14121-
"link": "http://example.org/index.php?rest_route=/wp/v2/posts/37283"
14115+
"link": "http://example.org/index.php?rest_route=/wp/v2/posts/4"
1412214116
},
1412314117
"i_replied": false,
1412414118
"can_moderate": true,

0 commit comments

Comments
 (0)