Updating versions and fixing tests.
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user