data source with token auth is starting to work, #9078
This commit is contained in:
@@ -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")
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user