Fix TestSampleSessionRedisApplication
Update the `@ServiceConnection` annotation to include the service connection name. See gh-35168
This commit is contained in:
@@ -26,7 +26,7 @@ import org.springframework.context.annotation.Bean;
|
||||
public class TestSampleSessionRedisApplication {
|
||||
|
||||
@Bean
|
||||
@ServiceConnection
|
||||
@ServiceConnection("redis")
|
||||
RedisContainer redisContainer() {
|
||||
return new RedisContainer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user