KEYCLOAK-7802 Fix broken HoKTest

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
This commit is contained in:
Peter Zaoral 2018-07-10 15:43:04 +02:00 committed by Pavel Drozd
parent 1308a3231d
commit c4b375c1fc

View file

@ -117,7 +117,7 @@ public class HoKTest extends AbstractTestRealmKeycloakTest {
for (ClientRepresentation client : testRealm.getClients()) { for (ClientRepresentation client : testRealm.getClients()) {
if (client.getClientId().equals(clientId)) { if (client.getClientId().equals(clientId)) {
URI baseUri = URI.create(client.getRedirectUris().get(0)); URI baseUri = URI.create(client.getRedirectUris().get(0));
URI redir = URI.create("https://localhost:" + System.getProperty("app.server.https.port", "8543") + baseUri.getRawPath()); URI redir = URI.create("https://localhost:" + System.getProperty("auth.server.https.port", "8543") + baseUri.getRawPath());
client.getRedirectUris().add(redir.toString()); client.getRedirectUris().add(redir.toString());
break; break;
} }