From e598c9e6d923a7aa0ac06f0f67c71a2ff011d088 Mon Sep 17 00:00:00 2001 From: Emil Hessman Date: Mon, 21 Dec 2020 07:53:31 +0100 Subject: [PATCH] Chore: Remove duplicate interpolateString test (#29941) --- pkg/api/pluginproxy/ds_auth_provider_test.go | 21 -------------------- 1 file changed, 21 deletions(-) delete mode 100644 pkg/api/pluginproxy/ds_auth_provider_test.go diff --git a/pkg/api/pluginproxy/ds_auth_provider_test.go b/pkg/api/pluginproxy/ds_auth_provider_test.go deleted file mode 100644 index 9bd98a339e5..00000000000 --- a/pkg/api/pluginproxy/ds_auth_provider_test.go +++ /dev/null @@ -1,21 +0,0 @@ -package pluginproxy - -import ( - "testing" - - . "github.com/smartystreets/goconvey/convey" -) - -func TestDsAuthProvider(t *testing.T) { - Convey("When interpolating string", t, func() { - data := templateData{ - SecureJsonData: map[string]string{ - "Test": "0asd+asd", - }, - } - - interpolated, err := interpolateString("{{.SecureJsonData.Test}}", data) - So(err, ShouldBeNil) - So(interpolated, ShouldEqual, "0asd+asd") - }) -}