Skip to content

Commit

Permalink
Fix redis prefix in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhave committed Aug 5, 2022
1 parent 0991bd3 commit 846340a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down

0 comments on commit 846340a

Please sign in to comment.