Fix redis prefix in tests

See gh-11574
This commit is contained in:
Madhura Bhave 2022-08-05 14:32:39 -07:00
parent 0991bd3983
commit 846340ad62

View File

@ -45,7 +45,7 @@ class SampleCacheApplicationRedisTests {
@DynamicPropertySource
static void redisProperties(DynamicPropertyRegistry properties) {
properties.add("spring.redis.url",
properties.add("spring.data.redis.url",
() -> "redis://" + redis.getContainerIpAddress() + ":" + redis.getFirstMappedPort());
}