diff --git a/tests/Constraints/ArraysTest.php b/tests/Constraints/ArraysTest.php index 63b97bf1..7c6a5e09 100644 --- a/tests/Constraints/ArraysTest.php +++ b/tests/Constraints/ArraysTest.php @@ -116,6 +116,19 @@ public function getInvalidTests() } } }' + ), + array( + '{"data": [{"not_a_string_but_object":"string_but_in_object"}]}', + '{ + "type": "object", + "properties": { + "data": { + "type": "array", + "items": {"type":"string"}, + "additionalItems": false + } + } + }' ) ); }