diff --git a/internal/ihop/creator_test.go b/internal/ihop/creator_test.go index c763a0d..5fb03d1 100644 --- a/internal/ihop/creator_test.go +++ b/internal/ihop/creator_test.go @@ -94,7 +94,7 @@ func testCreator(t *testing.T, context spec.G, it spec.S) { VersionID: "some-distro-version", IDLike: []string{"some-distro-id-like"}, }, - Packages: pkg.NewCatalog( + Packages: pkg.NewCollection( pkg.Package{ Name: "some-build-package", Metadata: pkg.DpkgMetadata{ @@ -126,7 +126,7 @@ func testCreator(t *testing.T, context spec.G, it spec.S) { VersionID: "some-distro-version", IDLike: []string{"some-distro-id-like"}, }, - Packages: pkg.NewCatalog( + Packages: pkg.NewCollection( pkg.Package{ Name: "some-common-package", Metadata: pkg.DpkgMetadata{ diff --git a/internal/ihop/sbom_test.go b/internal/ihop/sbom_test.go index 7f9d38b..8c1987b 100644 --- a/internal/ihop/sbom_test.go +++ b/internal/ihop/sbom_test.go @@ -27,7 +27,7 @@ func testSBOM(t *testing.T, context spec.G, it spec.S) { VersionID: "some-distro-version", IDLike: []string{"some-distro-id-like"}, }, - Packages: pkg.NewCatalog( + Packages: pkg.NewCollection( pkg.Package{ Name: "c-package", Metadata: pkg.DpkgMetadata{