Skip to content

Commit a740410

Browse files
authored
Update test (#1199)
Both catalogs should have a package available for the label selector to really demonstrate that it picks one of two catalogs Signed-off-by: Todd Short <[email protected]>
1 parent 0e728b3 commit a740410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/resolve/catalog_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ func TestClusterExtensionMatchLabel(t *testing.T) {
838838
pkgName := randPkg()
839839
w := staticCatalogWalker{
840840
"a": func() (*declcfg.DeclarativeConfig, *catalogd.ClusterCatalogSpec, error) {
841-
return &declcfg.DeclarativeConfig{}, nil, nil
841+
return genPackage(pkgName), nil, nil
842842
},
843843
"b": func() (*declcfg.DeclarativeConfig, *catalogd.ClusterCatalogSpec, error) {
844844
return genPackage(pkgName), nil, nil

0 commit comments

Comments
 (0)