From bfb96dad5a95b150f31248ec5d46040e72e93436 Mon Sep 17 00:00:00 2001 From: Gilbert Kwan Date: Thu, 13 Jun 2024 11:49:21 -0400 Subject: [PATCH] Update InventoryEndpointIT.java --- .../openliberty/guides/inventory/InventoryEndpointIT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/finish/inventory/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointIT.java b/finish/inventory/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointIT.java index 3e4583e..db746b4 100644 --- a/finish/inventory/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointIT.java +++ b/finish/inventory/src/test/java/it/io/openliberty/guides/inventory/InventoryEndpointIT.java @@ -110,8 +110,8 @@ public void testValue() { @Test @Order(3) - // tag::testUnknown[] - public void testUnknown() { + // tag::testUnknownHost[] + public void testUnknownHost() { Response badResponse = client .target(baseUrl + INVENTORY_SYSTEMS + "/" + "badhostname") .request(MediaType.APPLICATION_JSON).get(); @@ -125,7 +125,7 @@ public void testUnknown() { badResponse.close(); } - // end::testUnknown[] + // end::testUnknownHost[] // end::tests[] private Response getResponse(String url) {