diff --git a/cmd/helm/helm_test.go b/cmd/helm/helm_test.go index 5e59c41ed..2cf3e897d 100644 --- a/cmd/helm/helm_test.go +++ b/cmd/helm/helm_test.go @@ -71,27 +71,6 @@ func runTestCmd(t *testing.T, tests []cmdTestCase) { } } -func runTestActionCmd(t *testing.T, tests []cmdTestCase) { - t.Helper() - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - defer resetEnv()() - - store := storageFixture() - for _, rel := range tt.rels { - store.Create(rel) - } - _, out, err := executeActionCommandC(store, tt.cmd) - if (err != nil) != tt.wantError { - t.Errorf("expected error, got '%v'", err) - } - if tt.golden != "" { - test.AssertGoldenString(t, out, tt.golden) - } - }) - } -} - func storageFixture() *storage.Storage { return storage.Init(driver.NewMemory()) } diff --git a/cmd/helm/install_test.go b/cmd/helm/install_test.go index ff025b809..8c243b710 100644 --- a/cmd/helm/install_test.go +++ b/cmd/helm/install_test.go @@ -254,7 +254,7 @@ func TestInstall(t *testing.T) { }, } - runTestActionCmd(t, tests) + runTestCmd(t, tests) } func TestInstallOutputCompletion(t *testing.T) {