Skip to content

Commit

Permalink
Support for Java 8 Date/Time API in parameters #125
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
plakhov committed Mar 4, 2021
1 parent 10d3cb9 commit 81f9083
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ public void getServiceInfo() throws Exception {
assertEquals(HttpStatus.SC_OK, statusCode(response));
ReadContext readContext = parseResponse(response);
assertEquals("restdemo_PortalTestService", readContext.read("$.name"));
assertEquals(28, readContext.<Collection>read("$.methods").size());
assertEquals(29, readContext.<Collection>read("$.methods").size());
assertEquals(2, readContext.read("$.methods[?(@.name == 'sum')].params.length()", List.class).get(0));

assertEquals("number1", readContext.read("$.methods[?(@.name == 'sum')].params[0].name", List.class).get(0));
Expand Down

0 comments on commit 81f9083

Please sign in to comment.