From b5ce0e9ba05a4017e98c02b515a058d83ff39149 Mon Sep 17 00:00:00 2001 From: egimaben Date: Thu, 21 Jul 2016 00:20:44 +0300 Subject: [PATCH] fixed failing test --- .../src/test/java/com/baeldung/restassured/RestAssuredTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-assured-tutorial/src/test/java/com/baeldung/restassured/RestAssuredTest.java b/rest-assured-tutorial/src/test/java/com/baeldung/restassured/RestAssuredTest.java index a88ef2efc0..05d0a4d59c 100644 --- a/rest-assured-tutorial/src/test/java/com/baeldung/restassured/RestAssuredTest.java +++ b/rest-assured-tutorial/src/test/java/com/baeldung/restassured/RestAssuredTest.java @@ -55,7 +55,7 @@ public class RestAssuredTest { @Test public void givenUrl_whenJsonResponseHasArrayWithGivenValuesUnderKey_thenCorrect() { get("/events?id=390").then().assertThat() - .body("odds.price", hasItems(1.30f, 5.25f, 2.70f, 1.20f)); + .body("odds.price", hasItems("1.30", "5.25", "2.70", "1.20")); } @Test