Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…/swagger/nocontenthere (which has a proper certificate)
  • Loading branch information
Philip Stadermann committed Nov 4, 2024
1 parent 714aed9 commit 8166514
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ public void forUrl_WithUrlNull_ThrowsNullPointerException() throws Exception {
@Test
@Tag("ErrorLogProducer")
public void forUrl_WithUrlWithStatusCode4xx_ThrowsVaasClientException() throws Exception {
var url_1 = new URL("https://gateway.production.vaas.gdatasecurity.de/nocontenthere");
var url_1 = new URL("https://gateway.production.vaas.gdatasecurity.de/swagger/nocontenthere");
var e = assertThrows(VaasClientException.class, () -> vaas.forUrl(url_1));
assertEquals(
"Call failed with status code 404 (Not Found): GET https://gateway.production.vaas.gdatasecurity.de/nocontenthere",
"Call failed with status code 404 (Not Found): GET https://gateway.production.vaas.gdatasecurity.de/swagger/nocontenthere",
e.getMessage());
}

Expand Down

0 comments on commit 8166514

Please sign in to comment.