Skip to content

Commit 035a979

Browse files
committed
refactor: remove redundant test case and cleanup remaining testcase
1 parent 6464f87 commit 035a979

File tree

1 file changed

+10
-28
lines changed

1 file changed

+10
-28
lines changed

tests/Constraints/AdditionalPropertiesTest.php

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -189,40 +189,22 @@ public function getValidTests(): array
189189
"additionalProperties": true
190190
}'
191191
],
192-
[
193-
'{
194-
"prop1": {
195-
"prop2": "a"
196-
}
197-
}',
192+
'additional property casted into int when actually is numeric string (#784)' => [
198193
'{
199-
"type": "object",
200-
"additionalProperties": {
201-
"type": "object",
202-
"properties": {
203-
"prop2": {
204-
"type": "string"
205-
}
194+
"prop1": {
195+
"123": "a"
206196
}
207-
}
208-
}'
209-
],
210-
[
211-
'{
212-
"prop1": {
213-
"123": "a"
214-
}
215197
}',
216198
'{
217-
"type": "object",
218-
"additionalProperties": {
219199
"type": "object",
220-
"properties": {
221-
"123": {
222-
"type": "string"
223-
}
200+
"additionalProperties": {
201+
"type": "object",
202+
"properties": {
203+
"123": {
204+
"type": "string"
205+
}
206+
}
224207
}
225-
}
226208
}'
227209
],
228210
];

0 commit comments

Comments
 (0)