Fix Test_DecryptSecret
Signed-off-by: Radon Rosborough <rrosborough@plaid.com>
This commit is contained in:
		
							parent
							
								
									74c1f9e9a0
								
							
						
					
					
						commit
						c1eb7f0623
					
				|  | @ -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 { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue