From b7b933f35897a3378cd106f05c4062e9c3b47a6a Mon Sep 17 00:00:00 2001 From: Nathan Rijksen Date: Wed, 25 Sep 2024 14:44:17 -0700 Subject: [PATCH] Fix test --- pkg/buildplan/mock/mock.go | 2 ++ pkg/buildplan/raw/walk_test.go | 1 + 2 files changed, 3 insertions(+) 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, },