Upgrade to Spring Cloud Contract 1.2.0.RELEASE

Closes gh-508
This commit is contained in:
Stephane Nicoll
2017-12-29 13:56:23 +01:00
parent d4d06ec22b
commit e5a9b6063b
2 changed files with 2 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
package io.spring.initializr.stub;
import java.io.IOException;
import java.net.URI;
import org.junit.Test;
@@ -38,7 +37,7 @@ public class ClientApplicationTests {
private RestTemplate restTemplate;
@Test
public void testCurrentMetadata() throws IOException {
public void testCurrentMetadata() {
RequestEntity<Void> request = RequestEntity.get(createUri("/"))
.accept(MediaType.valueOf("application/vnd.initializr.v2.1+json"))
.build();

View File

@@ -81,7 +81,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-dependencies</artifactId>
<version>1.0.5.RELEASE</version>
<version>1.2.0.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>