GH-708 Removed RequestProcessor from MVC FunctionController

This commit is contained in:
Oleg Zhurakousky
2021-06-15 19:53:02 +02:00
parent 5a625b4ad0
commit b71aa90ebd
2 changed files with 22 additions and 22 deletions

View File

@@ -307,7 +307,7 @@ public class HttpPostIntegrationTests {
assertThat(this.rest.exchange(
RequestEntity.post(new URI("/sum")).accept(MediaType.APPLICATION_JSON)
.contentType(MediaType.MULTIPART_FORM_DATA).body(map),
String.class).getBody()).isEqualTo("[{\"A\":6,\"B\":11}]");
String.class).getBody()).isEqualTo("{\"A\":6,\"B\":11}");
}
@Test
@@ -321,7 +321,7 @@ public class HttpPostIntegrationTests {
assertThat(this.rest.exchange(
RequestEntity.post(new URI("/sum")).accept(MediaType.APPLICATION_JSON)
.contentType(MediaType.MULTIPART_FORM_DATA).body(map),
String.class).getBody()).isEqualTo("[{\"A\":6,\"B\":11}]");
String.class).getBody()).isEqualTo("{\"A\":6,\"B\":11}");
}
@Test