Guard RedisClusterConfiguration.asMap and RedisSentinelConfiguration.asMap with Assert.noNullElements(…).

Closes #2167
This commit is contained in:
Mark Paluch
2021-09-15 12:01:05 +02:00
parent 0691ffd347
commit 174680b9e7
3 changed files with 9 additions and 8 deletions

View File

@@ -95,7 +95,7 @@ class RedisClusterConfigurationUnitTests {
}
@Test // DATAREDIS-315
void shouldBeCreatedCorrecltyGivenValidPropertySourceWithSingleHostPort() {
void shouldBeCreatedCorrectlyGivenValidPropertySourceWithSingleHostPort() {
MockPropertySource propertySource = new MockPropertySource();
propertySource.setProperty("spring.redis.cluster.nodes", HOST_AND_PORT_1);