Skip to content

Commit a5d543d

Browse files
committed
Collaboration: Add missing maxItems to REST schema fixture
The rooms array schema includes a maxItems constraint of 50, but the committed wp-api-generated.js fixture was missing it, causing git diff --exit-code to fail on every PHPUnit CI job.
1 parent 030bbce commit a5d543d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12875,6 +12875,7 @@ mockedApiResponse.Schema = {
1287512875
"type": "object"
1287612876
},
1287712877
"type": "array",
12878+
"maxItems": 50,
1287812879
"required": true
1287912880
}
1288012881
}
@@ -12988,6 +12989,7 @@ mockedApiResponse.Schema = {
1298812989
"type": "object"
1298912990
},
1299012991
"type": "array",
12992+
"maxItems": 50,
1299112993
"required": true
1299212994
}
1299312995
}

0 commit comments

Comments
 (0)