From 547bd8101c1e6abd7bb95b8e5c1976c098697848 Mon Sep 17 00:00:00 2001 From: Conor Mongey Date: Tue, 19 Feb 2019 02:11:16 +0000 Subject: [PATCH] stoopid circle --- plugin/backend_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/backend_test.go b/plugin/backend_test.go index 34a5fba..4f57c27 100644 --- a/plugin/backend_test.go +++ b/plugin/backend_test.go @@ -2,6 +2,7 @@ package plugin import ( "context" + "encoding/base64" "fmt" "os" "testing" @@ -40,6 +41,8 @@ func testAccStepConfig(t *testing.T, uri string) logicaltest.TestStep { if password == "" { t.Fatal("KAFKA_ROOT_CERTIFICATE must be set in the env") } + sDec, _ := base64.StdEncoding.DecodeString(password) + password = string(sDec) return logicaltest.TestStep{ Operation: logical.UpdateOperation,