Fix TestSampleSessionRedisApplication

Update the `@ServiceConnection` annotation to include the
service connection name.

See gh-35168
pull/35165/head
Phillip Webb 2 years ago
parent 2c0edfd0b5
commit eabce52b93

@ -26,7 +26,7 @@ import org.springframework.context.annotation.Bean;
public class TestSampleSessionRedisApplication {
@Bean
@ServiceConnection
@ServiceConnection("redis")
RedisContainer redisContainer() {
return new RedisContainer();
}

Loading…
Cancel
Save