Skip to content

Commit b5ce0e9

Browse files
committed
fixed failing test
1 parent e580d24 commit b5ce0e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎rest-assured-tutorial/src/test/java/com/baeldung/restassured/RestAssuredTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public void givenUrl_whenSuccessOnGetsResponse_andJsonHasRequiredKV_thenCorrect(
5555
@Test
5656
public void givenUrl_whenJsonResponseHasArrayWithGivenValuesUnderKey_thenCorrect() {
5757
get("/events?id=390").then().assertThat()
58-
.body("odds.price", hasItems(1.30f, 5.25f, 2.70f, 1.20f));
58+
.body("odds.price", hasItems("1.30", "5.25", "2.70", "1.20"));
5959
}
6060

6161
@Test

0 commit comments

Comments
 (0)