diff --git a/pkg/action/pull_test.go b/pkg/action/pull_test.go index 69af3c2fc..f7cd45885 100644 --- a/pkg/action/pull_test.go +++ b/pkg/action/pull_test.go @@ -61,13 +61,12 @@ entries: srv := httptest.NewServer(mux) defer srv.Close() - // Isolate Helm env/cache to temp dirs for deterministic tests. settings := cli.New() settings.RepositoryCache = t.TempDir() settings.RepositoryConfig = filepath.Join(t.TempDir(), "repositories.yaml") settings.ContentCache = t.TempDir() - cfg := &Configuration{} // minimal config; no K8s or registry for HTTP path + cfg := &Configuration{} p := NewPull(WithConfig(cfg)) p.Settings = settings diff --git a/pkg/cmd/pull_test.go b/pkg/cmd/pull_test.go index c3156c394..8a7a223cd 100644 --- a/pkg/cmd/pull_test.go +++ b/pkg/cmd/pull_test.go @@ -44,7 +44,9 @@ func TestPullCmd(t *testing.T) { t.Fatal(err) } - helmTestKeyOut := "Signed by: Helm Testing (This key should only be used for testing. DO NOT TRUST.) \n" + + helmTestKeyOut := "Pulled: signtest:0.1.0\n" + + "Digest: sha256:e5ef611620fb97704d8751c16bab17fedb68883bfb0edc76f78a70e9173f9b55\n" + + "Signed by: Helm Testing (This key should only be used for testing. DO NOT TRUST.) \n" + "Using Key With Fingerprint: 5E615389B53CA37F0EE60BD3843BBF981FC18762\n" + "Chart Hash Verified: "