Skip to content

Commit e923883

Browse files
committed
Update CRD structure assertions
1 parent a49f897 commit e923883

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

manifest/test/acceptance/customresourcedefinition_test.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build acceptance
12
// +build acceptance
23

34
package acceptance
@@ -58,6 +59,17 @@ func TestKubernetesManifest_CustomResourceDefinition(t *testing.T) {
5859
"refs": map[string]interface{}{
5960
"type": "number",
6061
},
62+
"stuff": map[string]interface{}{
63+
"type": "array",
64+
"items": map[string]interface{}{
65+
"type": "object",
66+
"properties": map[string]interface{}{
67+
"foo": map[string]interface{}{
68+
"type": "string",
69+
},
70+
},
71+
},
72+
},
6173
},
6274
},
6375
},

0 commit comments

Comments
 (0)