Skip to content

Commit

Permalink
Fixes testTollwaysExtraDetails.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rungee committed Sep 21, 2017
1 parent 35a2633 commit 6c15eb6
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ public void testTollwaysExtraDetails() {
.param("instructions", "true")
.param("preference", "fastest")
.param("profile", "driving-hgv")
.param("continue_straight", "false")
.param("options", "{\"profile_params\":{\"width\":\"2\",\"height\":\"2\",\"weight\":\"14\"},\"vehicle_type\":\"hgv\"}")
.param("extra_info", "suitability|tollways")
.when()
Expand All @@ -419,13 +420,13 @@ public void testTollwaysExtraDetails() {
.body("routes[0].containsKey('extras')", is(true))
.body("routes[0].extras.tollways.values.size()", is(3))
.body("routes[0].extras.tollways.values[0][0]", is(0))
.body("routes[0].extras.tollways.values[0][1]", is(50))
.body("routes[0].extras.tollways.values[0][1]", is(52))
.body("routes[0].extras.tollways.values[0][2]", is(0))
.body("routes[0].extras.tollways.values[1][0]", is(50))
.body("routes[0].extras.tollways.values[1][1]", is(64))
.body("routes[0].extras.tollways.values[1][0]", is(52))
.body("routes[0].extras.tollways.values[1][1]", is(66))
.body("routes[0].extras.tollways.values[1][2]", is(1))
.body("routes[0].extras.tollways.values[2][0]", is(64))
.body("routes[0].extras.tollways.values[2][1]", is(84))
.body("routes[0].extras.tollways.values[2][0]", is(66))
.body("routes[0].extras.tollways.values[2][1]", is(86))
.body("routes[0].extras.tollways.values[2][2]", is(0))
.statusCode(200);

Expand Down

0 comments on commit 6c15eb6

Please sign in to comment.