data source with token auth is starting to work, #9078

This commit is contained in:
Torkel Ödegaard
2017-08-24 11:07:37 +02:00
parent 3c9798bec9
commit 71c9582944
3 changed files with 17 additions and 8 deletions
+2 -2
View File
@@ -152,13 +152,13 @@ func TestDSRouteRule(t *testing.T) {
Convey("When interpolating string", func() {
data := templateData{
SecureJsonData: map[string]string{
"Test": "0+0a0sdasd00+++",
"Test": "0asd+asd",
},
}
interpolated, err := interpolateString("{{.SecureJsonData.Test}}", data)
So(err, ShouldBeNil)
So(interpolated, ShouldEqual, "0+0a0sdasd00+++")
So(interpolated, ShouldEqual, "0asd+asd")
})
})