diff --git a/java/src/test/java/de/gdata/test/integration/RealApiIntegrationTests.java b/java/src/test/java/de/gdata/test/integration/RealApiIntegrationTests.java index b0a0258f..4aff2251 100644 --- a/java/src/test/java/de/gdata/test/integration/RealApiIntegrationTests.java +++ b/java/src/test/java/de/gdata/test/integration/RealApiIntegrationTests.java @@ -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()); }