Skip to content

Commit 09d0b86

Browse files
committed
Tests: Remove erroneous connector fixtures from merge artifact
The connectors API key entries in wp-api-generated.js were incorrectly carried over during the trunk merge. Trunk does not include them in the generated fixtures since the settings are dynamically registered and not present in the CI test context.
1 parent 9bcbfe6 commit 09d0b86

File tree

1 file changed

+36
-29
lines changed

1 file changed

+36
-29
lines changed

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

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3720,6 +3720,26 @@ mockedApiResponse.Schema = {
37203720
}
37213721
]
37223722
},
3723+
"/wp/v2/media/(?P<id>[\\d]+)/finalize": {
3724+
"namespace": "wp/v2",
3725+
"methods": [
3726+
"POST"
3727+
],
3728+
"endpoints": [
3729+
{
3730+
"methods": [
3731+
"POST"
3732+
],
3733+
"args": {
3734+
"id": {
3735+
"description": "Unique identifier for the attachment.",
3736+
"type": "integer",
3737+
"required": false
3738+
}
3739+
}
3740+
}
3741+
]
3742+
},
37233743
"/wp/v2/menu-items": {
37243744
"namespace": "wp/v2",
37253745
"methods": [
@@ -11067,24 +11087,6 @@ mockedApiResponse.Schema = {
1106711087
"PATCH"
1106811088
],
1106911089
"args": {
11070-
"connectors_ai_anthropic_api_key": {
11071-
"title": "Anthropic API Key",
11072-
"description": "API key for the Anthropic AI provider.",
11073-
"type": "string",
11074-
"required": false
11075-
},
11076-
"connectors_ai_google_api_key": {
11077-
"title": "Google API Key",
11078-
"description": "API key for the Google AI provider.",
11079-
"type": "string",
11080-
"required": false
11081-
},
11082-
"connectors_ai_openai_api_key": {
11083-
"title": "OpenAI API Key",
11084-
"description": "API key for the OpenAI AI provider.",
11085-
"type": "string",
11086-
"required": false
11087-
},
1108811090
"title": {
1108911091
"title": "Title",
1109011092
"description": "Site title.",
@@ -12830,22 +12832,26 @@ mockedApiResponse.Schema = {
1283012832
]
1283112833
},
1283212834
"client_id": {
12833-
"minimum": 1,
1283412835
"required": true,
12835-
"type": "integer"
12836+
"type": [
12837+
"string",
12838+
"integer"
12839+
],
12840+
"sanitize_callback": {}
1283612841
},
1283712842
"room": {
1283812843
"required": true,
1283912844
"type": "string",
1284012845
"pattern": "^[^/]+/[^/:]+(?::\\S+)?$",
12841-
"maxLength": 255
12846+
"maxLength": 191
1284212847
},
1284312848
"updates": {
1284412849
"items": {
1284512850
"properties": {
1284612851
"data": {
1284712852
"type": "string",
12848-
"required": true
12853+
"required": true,
12854+
"maxLength": 1048576
1284912855
},
1285012856
"type": {
1285112857
"type": "string",
@@ -12939,22 +12945,26 @@ mockedApiResponse.Schema = {
1293912945
]
1294012946
},
1294112947
"client_id": {
12942-
"minimum": 1,
1294312948
"required": true,
12944-
"type": "integer"
12949+
"type": [
12950+
"string",
12951+
"integer"
12952+
],
12953+
"sanitize_callback": {}
1294512954
},
1294612955
"room": {
1294712956
"required": true,
1294812957
"type": "string",
1294912958
"pattern": "^[^/]+/[^/:]+(?::\\S+)?$",
12950-
"maxLength": 255
12959+
"maxLength": 191
1295112960
},
1295212961
"updates": {
1295312962
"items": {
1295412963
"properties": {
1295512964
"data": {
1295612965
"type": "string",
12957-
"required": true
12966+
"required": true,
12967+
"maxLength": 1048576
1295812968
},
1295912969
"type": {
1296012970
"type": "string",
@@ -14873,9 +14883,6 @@ mockedApiResponse.CommentModel = {
1487314883
};
1487414884

1487514885
mockedApiResponse.settings = {
14876-
"connectors_ai_anthropic_api_key": "",
14877-
"connectors_ai_google_api_key": "",
14878-
"connectors_ai_openai_api_key": "",
1487914886
"title": "Test Blog",
1488014887
"description": "",
1488114888
"url": "http://example.org",

0 commit comments

Comments
 (0)