mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Fix TestSampleSessionRedisApplication
Update the `@ServiceConnection` annotation to include the service connection name. See gh-35168
This commit is contained in:
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…
Reference in New Issue
Block a user