diff --git a/pkg/buildplan/mock/mock.go b/pkg/buildplan/mock/mock.go index c715b775cc..ed575535ee 100644 --- a/pkg/buildplan/mock/mock.go +++ b/pkg/buildplan/mock/mock.go @@ -200,11 +200,13 @@ var BuildWithInstallerDepsViaSrc = &raw.Build{ { NodeID: "00000000-0000-0000-0000-000000000007", DisplayName: "pkgOne", + MimeType: types.XActiveStateArtifactMimeType, GeneratedBy: "00000000-0000-0000-0000-000000000008", }, { NodeID: "00000000-0000-0000-0000-000000000010", DisplayName: "pkgTwo", + MimeType: types.XActiveStateArtifactMimeType, GeneratedBy: "00000000-0000-0000-0000-000000000011", }, }, diff --git a/pkg/buildplan/raw/walk_test.go b/pkg/buildplan/raw/walk_test.go index 4e8f0518ae..12a887cf1b 100644 --- a/pkg/buildplan/raw/walk_test.go +++ b/pkg/buildplan/raw/walk_test.go @@ -158,6 +158,7 @@ func TestRawBuild_walkNodesViaRuntimeDeps(t *testing.T) { mock.BuildWithInstallerDepsViaSrc, []walkCall{ {"00000000-0000-0000-0000-000000000007", "Artifact", "00000000-0000-0000-0000-000000000002"}, + {"00000000-0000-0000-0000-000000000010", "Artifact", "00000000-0000-0000-0000-000000000002"}, }, false, },