From c18a6b6eab8d1e50b613ab917e4dc1e490d74060 Mon Sep 17 00:00:00 2001 From: Mark Swatosh Date: Mon, 11 Dec 2023 13:51:10 -0600 Subject: [PATCH] Rebase fixes --- src/test/java/io/openliberty/sample/it/CrewServiceIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/io/openliberty/sample/it/CrewServiceIT.java b/src/test/java/io/openliberty/sample/it/CrewServiceIT.java index 209e1a9..550c804 100644 --- a/src/test/java/io/openliberty/sample/it/CrewServiceIT.java +++ b/src/test/java/io/openliberty/sample/it/CrewServiceIT.java @@ -154,7 +154,7 @@ public void testFindByRank() { response = client.target(baseURL + "db/crew/rank/Captain").request().get(); JsonReader reader = Json.createReader(new StringReader(response.readEntity(String.class))); JsonArray array = reader.readArray(); - JsonArray expectedArray = Json.createArrayBuilder().add(Json.createObjectBuilder().add("Name", "Jim").add("CrewID", 64.add("Rank", "Captain").add("Ship", "Liberty Saucer")).build()).build(); + JsonArray expectedArray = Json.createArrayBuilder().add(Json.createObjectBuilder().add("Name", "Jim").add("CrewID", 64).add("Rank", "Captain").add("Ship", "Liberty Saucer").build()).build(); assertEquals(expectedArray, array); //Check findByRank("Engineer")