mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-19 01:58:16 +08:00
Upgrade to Spring Cloud Contract 1.2.0.RELEASE
Closes gh-508
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user