Merge branch '2.2.x'

Closes gh-19331
This commit is contained in:
Stephane Nicoll
2019-12-09 11:58:58 +01:00
3 changed files with 3 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ class EmbeddedMongoAutoConfigurationTests {
features.add(Feature.ONLY_WINDOWS_2008_SERVER);
}
load("spring.mongodb.embedded.features="
+ String.join(", ", features.stream().map(Feature::name).collect(Collectors.toList())));
+ features.stream().map(Feature::name).collect(Collectors.joining(", ")));
assertThat(this.context.getBean(EmbeddedMongoProperties.class).getFeatures())
.containsExactlyElementsOf(features);
}