Skip to content

Commit

Permalink
Update InventoryEndpointIT.java
Browse files Browse the repository at this point in the history
  • Loading branch information
gkwan-ibm authored Jun 13, 2024
1 parent 525d084 commit bfb96da
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -125,7 +125,7 @@ public void testUnknown() {

badResponse.close();
}
// end::testUnknown[]
// end::testUnknownHost[]
// end::tests[]

private Response getResponse(String url) {
Expand Down

0 comments on commit bfb96da

Please sign in to comment.