From c1eb7f0623ee9544cc93ce4546c02f0b36fae8cf Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Thu, 30 Jun 2022 06:22:58 -0700 Subject: [PATCH] Fix Test_DecryptSecret Signed-off-by: Radon Rosborough --- pkg/helmexec/exec_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/helmexec/exec_test.go b/pkg/helmexec/exec_test.go index 52b9bcc6..ff4912f1 100644 --- a/pkg/helmexec/exec_test.go +++ b/pkg/helmexec/exec_test.go @@ -377,9 +377,11 @@ func Test_DecryptSecret(t *testing.T) { expected := fmt.Sprintf(`Preparing to decrypt secret %v/secretName Decrypting secret %s/secretName exec: helm --kube-context dev secrets view %s/secretName +Decrypted %s/secretName into %s Preparing to decrypt secret %s/secretName Found secret in cache %s/secretName -`, cwd, cwd, cwd, cwd, cwd) +Decrypted %s/secretName into %s +`, cwd, cwd, cwd, cwd, tmpFilePath, cwd, cwd, cwd, tmpFilePath) if err != nil { if _, ok := err.(*os.PathError); ok { } else {