@@ -33,7 +33,7 @@ var _ = Describe("BundleEntity", func() {
3333 bundleEntity := olmentity .NewBundleEntity (entity )
3434 packageName , err := bundleEntity .PackageName ()
3535 Expect (packageName ).To (Equal ("" ))
36- Expect (err .Error ()).To (Equal ("error determining package for entity 'operatorhub/prometheus/0.14.0': property 'olm.package' not found" ))
36+ Expect (err .Error ()).To (Equal ("error determining package for entity 'operatorhub/prometheus/0.14.0': required property 'olm.package' not found" ))
3737 })
3838 It ("should return error if the property is malformed" , func () {
3939 entity := input .NewEntity ("operatorhub/prometheus/0.14.0" , map [string ]string {
@@ -61,7 +61,7 @@ var _ = Describe("BundleEntity", func() {
6161 bundleEntity := olmentity .NewBundleEntity (entity )
6262 version , err := bundleEntity .Version ()
6363 Expect (version ).To (BeNil ())
64- Expect (err .Error ()).To (Equal ("error determining package for entity 'operatorhub/prometheus/0.14.0': property 'olm.package' not found" ))
64+ Expect (err .Error ()).To (Equal ("error determining package for entity 'operatorhub/prometheus/0.14.0': required property 'olm.package' not found" ))
6565 })
6666 It ("should return error if the property is malformed" , func () {
6767 entity := input .NewEntity ("operatorhub/prometheus/0.14.0" , map [string ]string {
@@ -101,7 +101,7 @@ var _ = Describe("BundleEntity", func() {
101101 bundleEntity := olmentity .NewBundleEntity (entity )
102102 providedGvks , err := bundleEntity .ProvidedGVKs ()
103103 Expect (providedGvks ).To (BeNil ())
104- Expect (err . Error ()) .To (Equal ( "error determining bundle provided gvks for entity 'operatorhub/prometheus/0.14.0': property 'olm.gvk' not found" ))
104+ Expect (err ) .To (BeNil ( ))
105105 })
106106 It ("should return error if the property is malformed" , func () {
107107 entity := input .NewEntity ("operatorhub/prometheus/0.14.0" , map [string ]string {
@@ -132,7 +132,7 @@ var _ = Describe("BundleEntity", func() {
132132 bundleEntity := olmentity .NewBundleEntity (entity )
133133 requiredGvks , err := bundleEntity .RequiredGVKs ()
134134 Expect (requiredGvks ).To (BeNil ())
135- Expect (err . Error ()) .To (Equal ( "error determining bundle required gvks for entity 'operatorhub/prometheus/0.14.0': property 'olm.gvk.required' not found" ))
135+ Expect (err ) .To (BeNil ( ))
136136 })
137137 It ("should return error if the property is malformed" , func () {
138138 entity := input .NewEntity ("operatorhub/prometheus/0.14.0" , map [string ]string {
@@ -163,7 +163,7 @@ var _ = Describe("BundleEntity", func() {
163163 bundleEntity := olmentity .NewBundleEntity (entity )
164164 requiredPackages , err := bundleEntity .RequiredPackages ()
165165 Expect (requiredPackages ).To (BeNil ())
166- Expect (err . Error ()) .To (Equal ( "error determining bundle required packages for entity 'operatorhub/prometheus/0.14.0': property 'olm.package.required' not found" ))
166+ Expect (err ) .To (BeNil ( ))
167167 })
168168 It ("should return error if the property is malformed" , func () {
169169 entity := input .NewEntity ("operatorhub/prometheus/0.14.0" , map [string ]string {
@@ -191,7 +191,7 @@ var _ = Describe("BundleEntity", func() {
191191 bundleEntity := olmentity .NewBundleEntity (entity )
192192 channelName , err := bundleEntity .ChannelName ()
193193 Expect (channelName ).To (BeEmpty ())
194- Expect (err .Error ()).To (Equal ("error determining bundle channel properties for entity 'operatorhub/prometheus/0.14.0': property 'olm.channel' not found" ))
194+ Expect (err .Error ()).To (Equal ("error determining bundle channel properties for entity 'operatorhub/prometheus/0.14.0': required property 'olm.channel' not found" ))
195195 })
196196 It ("should return error if the property is malformed" , func () {
197197 entity := input .NewEntity ("operatorhub/prometheus/0.14.0" , map [string ]string {
@@ -227,7 +227,7 @@ var _ = Describe("BundleEntity", func() {
227227 bundleEntity := olmentity .NewBundleEntity (entity )
228228 channelProperties , err := bundleEntity .ChannelProperties ()
229229 Expect (channelProperties ).To (BeNil ())
230- Expect (err .Error ()).To (Equal ("error determining bundle channel properties for entity 'operatorhub/prometheus/0.14.0': property 'olm.channel' not found" ))
230+ Expect (err .Error ()).To (Equal ("error determining bundle channel properties for entity 'operatorhub/prometheus/0.14.0': required property 'olm.channel' not found" ))
231231 })
232232 It ("should return error if the property is malformed" , func () {
233233 entity := input .NewEntity ("operatorhub/prometheus/0.14.0" , map [string ]string {
@@ -255,7 +255,7 @@ var _ = Describe("BundleEntity", func() {
255255 bundleEntity := olmentity .NewBundleEntity (entity )
256256 bundlePath , err := bundleEntity .BundlePath ()
257257 Expect (bundlePath ).To (BeEmpty ())
258- Expect (err .Error ()).To (Equal ("error determining bundle path for entity 'operatorhub/prometheus/0.14.0': property 'olm.bundle.path' not found" ))
258+ Expect (err .Error ()).To (Equal ("error determining bundle path for entity 'operatorhub/prometheus/0.14.0': required property 'olm.bundle.path' not found" ))
259259 })
260260 It ("should return error if the property is malformed" , func () {
261261 entity := input .NewEntity ("operatorhub/prometheus/0.14.0" , map [string ]string {
0 commit comments