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) {