diff --git a/demo-redis/src/test/java/com/helltractor/demo/AbstractIntegrationTest.java b/demo-redis/src/test/java/com/helltractor/demo/AbstractIntegrationTest.java index a706678..2d66b90 100644 --- a/demo-redis/src/test/java/com/helltractor/demo/AbstractIntegrationTest.java +++ b/demo-redis/src/test/java/com/helltractor/demo/AbstractIntegrationTest.java @@ -17,8 +17,8 @@ abstract class AbstractIntegrationTest { @DynamicPropertySource static void redisProperties(DynamicPropertyRegistry registry) { redis.start(); - registry.add("spring.redis.host", redis::getHost); - registry.add("spring.redis.port", redis::getFirstMappedPort); + registry.add("spring.data.redis.host", redis::getHost); + registry.add("spring.data.redis.port", redis::getFirstMappedPort); } } \ No newline at end of file