Fix TestSampleSessionRedisApplication

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

See gh-35168
This commit is contained in:
Phillip Webb 2023-05-01 22:06:43 -07:00
parent 2c0edfd0b5
commit eabce52b93

View File

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