Skip to content

Commit

Permalink
add timestamp format assertation to test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Nov 23, 2023
1 parent a068031 commit 14a9349
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,8 @@ public void elementsAreaRatioGroupByBoundaryTest() {
server + port + "/elements/area/ratio/groupBy/boundary", map, JsonNode.class);
assertEquals(expectedValue, response.getBody().get("groupByBoundaryResult").get(1)
.get("ratioResult").get(0).get("ratio").asDouble(), expectedValue * deltaPercentage);
assertEquals("2017-01-01T00:00:00Z", response.getBody().get("groupByBoundaryResult").get(1)
.get("ratioResult").get(0).get("timestamp").asText());
}

@Test
Expand Down

0 comments on commit 14a9349

Please sign in to comment.