@@ -48,8 +48,8 @@ var _ = Describe("BundlesAndDepsVariableSource", func() {
48
48
Package : "test-package" ,
49
49
Properties : []property.Property {
50
50
{Type : property .TypePackage , Value : json .RawMessage (`{"packageName": "test-package", "version": "2.0.0"}` )},
51
- {Type : property .TypeGVKRequired , Value : json .RawMessage (`[ {"group":"foo.io","kind":"Foo","version":"v1"}] ` )},
52
- {Type : property .TypePackageRequired , Value : json .RawMessage (`[ {"packageName": "some-package", "versionRange": ">=1.0.0 <2.0.0"}] ` )},
51
+ {Type : property .TypeGVKRequired , Value : json .RawMessage (`{"group":"foo.io","kind":"Foo","version":"v1"}` )},
52
+ {Type : property .TypePackageRequired , Value : json .RawMessage (`{"packageName": "some-package", "versionRange": ">=1.0.0 <2.0.0"}` )},
53
53
},
54
54
},
55
55
InChannels : []* catalogmetadata.Channel {& channel },
@@ -108,9 +108,9 @@ var _ = Describe("BundlesAndDepsVariableSource", func() {
108
108
Package : "some-other-package" ,
109
109
Properties : []property.Property {
110
110
{Type : property .TypePackage , Value : json .RawMessage (`{"packageName": "some-other-package", "version": "1.5.0"}` )},
111
- {Type : property .TypeGVK , Value : json .RawMessage (`[ {"group":"foo.io","kind":"Foo","version":"v1"}] ` )},
112
- {Type : property .TypeGVKRequired , Value : json .RawMessage (`[ {"group":"bar.io","kind":"Bar","version":"v1"}] ` )},
113
- {Type : property .TypePackageRequired , Value : json .RawMessage (`[ {"packageName": "another-package", "versionRange": "< 2.0.0"}] ` )},
111
+ {Type : property .TypeGVK , Value : json .RawMessage (`{"group":"foo.io","kind":"Foo","version":"v1"}` )},
112
+ {Type : property .TypeGVKRequired , Value : json .RawMessage (`{"group":"bar.io","kind":"Bar","version":"v1"}` )},
113
+ {Type : property .TypePackageRequired , Value : json .RawMessage (`{"packageName": "another-package", "versionRange": "< 2.0.0"}` )},
114
114
},
115
115
},
116
116
InChannels : []* catalogmetadata.Channel {& channel },
@@ -236,8 +236,8 @@ var _ = Describe("BundlesAndDepsVariableSource", func() {
236
236
Package : "test-package" ,
237
237
Properties : []property.Property {
238
238
{Type : property .TypePackage , Value : json .RawMessage (`{"packageName": "test-package", "version": "2.0.0"}` )},
239
- {Type : property .TypeGVKRequired , Value : json .RawMessage (`[ {"group":"foo.io","kind":"Foo","version":"v1"}] ` )},
240
- {Type : property .TypePackageRequired , Value : json .RawMessage (`[ {"packageName": "some-package", "versionRange": ">=1.0.0 <2.0.0"}] ` )},
239
+ {Type : property .TypeGVKRequired , Value : json .RawMessage (`{"group":"foo.io","kind":"Foo","version":"v1"}` )},
240
+ {Type : property .TypePackageRequired , Value : json .RawMessage (`{"packageName": "some-package", "versionRange": ">=1.0.0 <2.0.0"}` )},
241
241
},
242
242
},
243
243
InChannels : []* catalogmetadata.Channel {& channel },
@@ -350,8 +350,8 @@ var _ = Describe("BundlesAndDepsVariableSource", func() {
350
350
Package : "test-package" ,
351
351
Properties : []property.Property {
352
352
{Type : property .TypePackage , Value : json .RawMessage (`{"packageName": "test-package", "version": "2.0.0"}` )},
353
- {Type : property .TypeGVKRequired , Value : json .RawMessage (`[ {"group":"foo.io","kind":"Foo","version":"v1"}] ` )},
354
- {Type : property .TypePackageRequired , Value : json .RawMessage (`[ {"packageName": "some-package", "versionRange": ">=1.0.0 <2.0.0"}] ` )},
353
+ {Type : property .TypeGVKRequired , Value : json .RawMessage (`{"group":"foo.io","kind":"Foo","version":"v1"}` )},
354
+ {Type : property .TypePackageRequired , Value : json .RawMessage (`{"packageName": "some-package", "versionRange": ">=1.0.0 <2.0.0"}` )},
355
355
},
356
356
},
357
357
InChannels : []* catalogmetadata.Channel {{Channel : declcfg.Channel {Name : "stable" }}},
0 commit comments