Update redis_test.go
@@ -14,10 +14,10 @@ import (
func TestParseMetadata(t *testing.T) {
m := bindings.Metadata{}
- m.Properties = map[string]string{"redisHost": "a", "redisPassword": "a"}
+ m.Properties = map[string]string{"redisHost": "host", "redisPassword": "password"}
r := Redis{}
redisM, err := r.parseMetadata(m)
assert.Nil(t, err)
- assert.Equal(t, "a", redisM.Host)
- assert.Equal(t, "a", redisM.Password)
+ assert.Equal(t, "host", redisM.Host)
+ assert.Equal(t, "password", redisM.Password)
}
