Fix redis prefix in tests

See gh-11574
pull/31997/head
Madhura Bhave 2 years ago
parent 0991bd3983
commit 846340ad62

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

Loading…
Cancel
Save