Uncomment some ignored tests
This commit is contained in:
@@ -267,13 +267,12 @@ public class RestApplicationTests {
|
|||||||
ResponseEntity<String> result = rest.exchange(RequestEntity
|
ResponseEntity<String> result = rest.exchange(RequestEntity
|
||||||
.post(new URI("/messages")).contentType(MediaType.APPLICATION_JSON)
|
.post(new URI("/messages")).contentType(MediaType.APPLICATION_JSON)
|
||||||
.header("x-foo", "bar").body("[\"foo\",\"bar\"]"), String.class);
|
.header("x-foo", "bar").body("[\"foo\",\"bar\"]"), String.class);
|
||||||
assertThat(result.getBody()).isEqualTo("[\"(FOO)\",\"(BAR)\"]");
|
|
||||||
assertThat(result.getHeaders().getFirst("x-foo")).isEqualTo("bar");
|
assertThat(result.getHeaders().getFirst("x-foo")).isEqualTo("bar");
|
||||||
assertThat(result.getHeaders()).doesNotContainKey("id");
|
assertThat(result.getHeaders()).doesNotContainKey("id");
|
||||||
|
assertThat(result.getBody()).isEqualTo("[\"(FOO)\",\"(BAR)\"]");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore("FIXME")
|
|
||||||
public void headers() throws Exception {
|
public void headers() throws Exception {
|
||||||
ResponseEntity<String> result = rest.exchange(RequestEntity
|
ResponseEntity<String> result = rest.exchange(RequestEntity
|
||||||
.post(new URI("/headers")).contentType(MediaType.APPLICATION_JSON)
|
.post(new URI("/headers")).contentType(MediaType.APPLICATION_JSON)
|
||||||
@@ -284,7 +283,6 @@ public class RestApplicationTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore("FIXME")
|
|
||||||
public void uppercaseSingleValue() throws Exception {
|
public void uppercaseSingleValue() throws Exception {
|
||||||
ResponseEntity<String> result = rest
|
ResponseEntity<String> result = rest
|
||||||
.exchange(
|
.exchange(
|
||||||
@@ -389,7 +387,6 @@ public class RestApplicationTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore("FIXME")
|
|
||||||
public void convertPost() throws Exception {
|
public void convertPost() throws Exception {
|
||||||
ResponseEntity<String> result = rest.exchange(RequestEntity.post(new URI("/wrap"))
|
ResponseEntity<String> result = rest.exchange(RequestEntity.post(new URI("/wrap"))
|
||||||
.contentType(MediaType.TEXT_PLAIN).body("123"), String.class);
|
.contentType(MediaType.TEXT_PLAIN).body("123"), String.class);
|
||||||
|
|||||||
Reference in New Issue
Block a user