mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +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 {
|
public class TestSampleSessionRedisApplication {
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
@ServiceConnection
|
@ServiceConnection("redis")
|
||||||
RedisContainer redisContainer() {
|
RedisContainer redisContainer() {
|
||||||
return new RedisContainer();
|
return new RedisContainer();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user