From 8c19279012c253144a0adfc8311d8e61dadd74ad Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 3 Aug 2021 10:49:26 +0200 Subject: [PATCH] Fix OpenApiIT due to quarkusio/quarkus/pull/19148 --- .../keycloak/oidcclient/extended/restclient/OpenApiIT.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/security/keycloak-oidc-client-extended/src/test/java/io/quarkus/ts/security/keycloak/oidcclient/extended/restclient/OpenApiIT.java b/security/keycloak-oidc-client-extended/src/test/java/io/quarkus/ts/security/keycloak/oidcclient/extended/restclient/OpenApiIT.java index dadc924f4..4043fc9fb 100644 --- a/security/keycloak-oidc-client-extended/src/test/java/io/quarkus/ts/security/keycloak/oidcclient/extended/restclient/OpenApiIT.java +++ b/security/keycloak-oidc-client-extended/src/test/java/io/quarkus/ts/security/keycloak/oidcclient/extended/restclient/OpenApiIT.java @@ -7,7 +7,6 @@ import java.io.FileReader; import java.io.IOException; import java.net.URI; -import java.net.URISyntaxException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; @@ -37,11 +36,11 @@ public class OpenApiIT extends BaseIT { private static final Path JSON_FILE_NAME_FULL_PATH = Paths.get(directory + JSON_FILE_NAME); private static final String EXPECTED_TAGS = "[{\"name\":\"Ping\",\"description\":\"Ping API\"},{\"name\":\"Pong\",\"description\":\"Pong API\"}]"; - private static final String EXPECTED_INFO = "{\"title\":\"Generated API\",\"version\":\"1.0\"}"; + private static final String EXPECTED_INFO = "{\"title\":\"security-keycloak-oidc-client-extended API\",\"version\":\"1.0.0-SNAPSHOT\"}"; // QUARKUS-716 @Test - public void testJsonOpenApiPathAccessResource() throws IOException, URISyntaxException { + public void testJsonOpenApiPathAccessResource() throws IOException { assertTrue(Files.exists(JSON_FILE_NAME_FULL_PATH), JSON_FILE_NAME_FULL_PATH + " doesn't exist."); assertContent(toJson(JSON_FILE_NAME_FULL_PATH)); }