We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9225c96 commit 566938dCopy full SHA for 566938d
tests/Constraints/MinMaxPropertiesTest.php
@@ -72,7 +72,7 @@ public function getInvalidTests()
72
return array(
73
array(
74
'{
75
- "value": 1
+ "value": {}
76
}',
77
78
"type": "object",
@@ -81,9 +81,27 @@ public function getInvalidTests()
81
}
82
}'
83
),
84
+ array(
85
+ '{}',
86
+ '{
87
+ "type": "object",
88
+ "properties": {
89
+ "propertyOne": {
90
+ "type": "string"
91
+ },
92
+ "propertyTwo": {
93
94
+ }
95
96
+ "minProperties": 1
97
+ }'
98
+ ),
99
100
101
+ "value": {
102
+ "propertyOne": "valueOne",
103
+ "propertyTwo": "valueTwo"
104
105
106
107
0 commit comments