Skip to content

Commit

Permalink
Fix failing operations test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielboudreau authored and danielboudreau committed Feb 1, 2021
1 parent a426659 commit 5197cef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ public void testCarType() throws JsonException {
assertThat(result.isArray()).isTrue();
assertEquals(4, result.size());
assertEquals(JsonOperations.CAR_TYPE, result.path(0).path(JSON.TYPE).asText());
assertEquals("test1", result.path(0).path(JSON.DATA).path(JSON.NAME).asText());
assertEquals("Boxcar", result.path(0).path(JSON.DATA).path(JSON.NAME).asText());
assertThat(result.path(0).path(JSON.DATA).path(JsonOperations.CARS).isArray()).isTrue();
assertThat(result.path(0).path(JSON.DATA).path(JsonOperations.LOCATIONS).isArray()).isTrue();
// rename the added car type
Expand Down

0 comments on commit 5197cef

Please sign in to comment.