@@ -44,7 +44,7 @@ func (s *scenario) ExecuteCPDFailScenario(ctx context.Context, namespace string)
4444 g .Expect (inventory ).To (HaveLen (len (catalog .Spec .Sources )), "number of Catalog status inventory map should be equal to catalog sources length" )
4545 for groupKey , items := range inventory {
4646 g .Expect (items ).To (HaveLen (4 ), "each Catalog status inventory entry should have 4 items" )
47- s .expectStatusPropagationInCatalogInventory (ctx , groupKey , false )
47+ s .expectStatusPropagationInCatalogInventory (g , ctx , groupKey , false )
4848 }
4949 catalogReady := catalog .Status .GetConditionByType (greenhousemetav1alpha1 .ReadyCondition )
5050 g .Expect (catalogReady ).ToNot (BeNil (), "the Catalog should have a Ready condition" )
@@ -81,7 +81,7 @@ func (s *scenario) ExecuteArtifactFailScenario(ctx context.Context, namespace st
8181 g .Expect (inventory ).To (HaveLen (len (catalog .Spec .Sources )), "number of Catalog status inventory map should be equal to catalog sources length" )
8282 for groupKey , items := range inventory {
8383 g .Expect (items ).To (HaveLen (4 ), "each Catalog status inventory entry should have 4 items" )
84- s .expectStatusPropagationInCatalogInventory (ctx , groupKey , true )
84+ s .expectStatusPropagationInCatalogInventory (g , ctx , groupKey , true )
8585 }
8686 catalogReady := catalog .Status .GetConditionByType (greenhousemetav1alpha1 .ReadyCondition )
8787 g .Expect (catalogReady ).ToNot (BeNil (), "the Catalog should have a Ready condition" )
@@ -119,7 +119,7 @@ func (s *scenario) ExecuteGitAuthFailScenario(ctx context.Context, namespace str
119119 g .Expect (inventory ).To (HaveLen (len (catalog .Spec .Sources )), "number of Catalog status inventory map should be equal to catalog sources length" )
120120 for groupKey , items := range inventory {
121121 g .Expect (items ).To (HaveLen (4 ), "each Catalog status inventory entry should have 4 items" )
122- s .expectStatusPropagationInCatalogInventory (ctx , groupKey , true )
122+ s .expectStatusPropagationInCatalogInventory (g , ctx , groupKey , true )
123123 }
124124 catalogReady := catalog .Status .GetConditionByType (greenhousemetav1alpha1 .ReadyCondition )
125125 g .Expect (catalogReady ).ToNot (BeNil (), "the Catalog should have a Ready condition" )
0 commit comments