Bumping versions

This commit is contained in:
buildmaster
2020-09-09 09:57:43 +00:00
parent 3fc24baa9f
commit 73477d2365

View File

@@ -345,10 +345,11 @@ public class ConfigServicePropertySourceLocatorTests {
mockRequestResponseWithoutLabel(new ResponseEntity<>(body, HttpStatus.OK));
this.locator.setRestTemplate(this.restTemplate);
List<org.springframework.core.env.PropertySource<?>> propertySources = new ArrayList<>(this.locator
.locateCollection(this.environment));
List<org.springframework.core.env.PropertySource<?>> propertySources = new ArrayList<>(
this.locator.locateCollection(this.environment));
assertThat(propertySources).hasSize(2);
org.springframework.core.env.PropertySource<?> propertySource = propertySources.get(1);
org.springframework.core.env.PropertySource<?> propertySource = propertySources
.get(1);
Map source = (Map) propertySource.getSource();
Iterator iterator = source.keySet().iterator();
assertThat(iterator.next()).isEqualTo("zuul.routes.specificproduct.path");