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 f375f0b commit 9a37ca4Copy full SHA for 9a37ca4
tests/Constraints/MinMaxPropertiesTest.php
@@ -74,7 +74,7 @@ public function getInvalidTests()
74
return array(
75
array(
76
'{
77
- "value": 1
+ "value": {}
78
}',
79
80
"type": "object",
@@ -83,9 +83,27 @@ public function getInvalidTests()
83
}
84
}'
85
),
86
+ array(
87
+ '{}',
88
+ '{
89
+ "type": "object",
90
+ "properties": {
91
+ "propertyOne": {
92
+ "type": "string"
93
+ },
94
+ "propertyTwo": {
95
96
+ }
97
98
+ "minProperties": 1
99
+ }'
100
+ ),
101
102
103
+ "value": {
104
+ "propertyOne": "valueOne",
105
+ "propertyTwo": "valueTwo"
106
107
108
109
0 commit comments