diff --git a/spring-cloud-function-web/src/test/java/org/springframework/cloud/function/web/RestApplicationTests.java b/spring-cloud-function-web/src/test/java/org/springframework/cloud/function/web/RestApplicationTests.java index 765382751..840ba094a 100644 --- a/spring-cloud-function-web/src/test/java/org/springframework/cloud/function/web/RestApplicationTests.java +++ b/spring-cloud-function-web/src/test/java/org/springframework/cloud/function/web/RestApplicationTests.java @@ -267,13 +267,12 @@ public class RestApplicationTests { ResponseEntity result = rest.exchange(RequestEntity .post(new URI("/messages")).contentType(MediaType.APPLICATION_JSON) .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()).doesNotContainKey("id"); + assertThat(result.getBody()).isEqualTo("[\"(FOO)\",\"(BAR)\"]"); } @Test - @Ignore("FIXME") public void headers() throws Exception { ResponseEntity result = rest.exchange(RequestEntity .post(new URI("/headers")).contentType(MediaType.APPLICATION_JSON) @@ -284,7 +283,6 @@ public class RestApplicationTests { } @Test - @Ignore("FIXME") public void uppercaseSingleValue() throws Exception { ResponseEntity result = rest .exchange( @@ -389,7 +387,6 @@ public class RestApplicationTests { } @Test - @Ignore("FIXME") public void convertPost() throws Exception { ResponseEntity result = rest.exchange(RequestEntity.post(new URI("/wrap")) .contentType(MediaType.TEXT_PLAIN).body("123"), String.class);