Updating versions and fixing tests.

This commit is contained in:
Ryan Baxter
2018-06-28 15:52:54 -04:00
parent 496412bd8e
commit f0f162e94d
4 changed files with 6 additions and 4 deletions

View File

@@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId>
<version>1.3.8.RELEASE</version>
<version>1.3.10.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<scm>
@@ -22,7 +22,7 @@
</scm>
<properties>
<bintray.package>config</bintray.package>
<spring-cloud-commons.version>1.3.3.BUILD-SNAPSHOT</spring-cloud-commons.version>
<spring-cloud-commons.version>1.3.4.BUILD-SNAPSHOT</spring-cloud-commons.version>
</properties>
<modules>
<module>spring-cloud-config-dependencies</module>

View File

@@ -103,6 +103,7 @@ public class ConfigServicePropertySourceLocatorTests {
Mockito.when(response.getHeaders()).thenReturn(headers);
Mockito.when(response.getStatusCode()).thenReturn(
HttpStatus.INTERNAL_SERVER_ERROR);
Mockito.when(response.getRawStatusCode()).thenReturn(HttpStatus.INTERNAL_SERVER_ERROR.value());
Mockito.when(response.getBody()).thenReturn(
new ByteArrayInputStream("{}".getBytes()));
this.locator.setRestTemplate(restTemplate);
@@ -132,6 +133,7 @@ public class ConfigServicePropertySourceLocatorTests {
Mockito.when(response.getHeaders()).thenReturn(headers);
Mockito.when(response.getStatusCode()).thenReturn(
HttpStatus.NOT_FOUND);
Mockito.when(response.getRawStatusCode()).thenReturn(HttpStatus.NOT_FOUND.value());
Mockito.when(response.getBody()).thenReturn(
new ByteArrayInputStream("".getBytes()));
this.locator.setRestTemplate(restTemplate);

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<groupId>org.springframework.cloud</groupId>
<version>1.3.8.BUILD-SNAPSHOT</version>
<version>1.3.10.BUILD-SNAPSHOT</version>
<relativePath/>
</parent>
<artifactId>spring-cloud-config-dependencies</artifactId>

View File

@@ -13,7 +13,7 @@
<description>Spring Cloud Config Monitor</description>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
<spring-cloud-bus.version>1.3.2.RELEASE</spring-cloud-bus.version>
<spring-cloud-bus.version>1.3.4.RELEASE</spring-cloud-bus.version>
</properties>
<dependencyManagement>
<dependencies>