@@ -42,9 +42,12 @@ final class RedisBindingsPropertiesProcessorTest {
4242 .withEntry ("database" , "test-database" )
4343 .withEntry ("host" , "test-host" )
4444 .withEntry ("password" , "test-password" )
45+ .withEntry ("username" , "test-username" )
4546 .withEntry ("port" , "test-port" )
4647 .withEntry ("sentinel.master" , "test-sentinel-master" )
4748 .withEntry ("sentinel.nodes" , "test-sentinel-nodes" )
49+ .withEntry ("sentinel.password" , "test-sentinel-password" )
50+ .withEntry ("sentinel.username" , "test-sentinel-username" )
4851 .withEntry ("ssl" , "test-ssl" )
4952 .withEntry ("url" , "test-url" )
5053 )
@@ -65,9 +68,12 @@ void test() {
6568 .containsEntry ("spring.redis.database" , "test-database" )
6669 .containsEntry ("spring.redis.host" , "test-host" )
6770 .containsEntry ("spring.redis.password" , "test-password" )
71+ .containsEntry ("spring.redis.username" , "test-username" )
6872 .containsEntry ("spring.redis.port" , "test-port" )
6973 .containsEntry ("spring.redis.sentinel.master" , "test-sentinel-master" )
7074 .containsEntry ("spring.redis.sentinel.nodes" , "test-sentinel-nodes" )
75+ .containsEntry ("spring.redis.sentinel.password" , "test-sentinel-password" )
76+ .containsEntry ("spring.redis.sentinel.username" , "test-sentinel-username" )
7177 .containsEntry ("spring.redis.ssl" , "test-ssl" )
7278 .containsEntry ("spring.redis.url" , "test-url" );
7379 }
0 commit comments