Skip to content

Commit 846340a

Browse files
committed
Fix redis prefix in tests
See gh-11574
1 parent 0991bd3 commit 846340a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/src/redisTest/java/smoketest/cache/SampleCacheApplicationRedisTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class SampleCacheApplicationRedisTests {
4545

4646
@DynamicPropertySource
4747
static void redisProperties(DynamicPropertyRegistry properties) {
48-
properties.add("spring.redis.url",
48+
properties.add("spring.data.redis.url",
4949
() -> "redis://" + redis.getContainerIpAddress() + ":" + redis.getFirstMappedPort());
5050
}
5151

0 commit comments

Comments
 (0)