From a6da6e48f9f45783855cde72bc5a566f8b477a2a Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Thu, 14 Jan 2016 11:53:47 +0100 Subject: [PATCH] Fix client installation test --- .../oidc/installation/KeycloakOIDCClientInstallation.java | 2 +- .../testsuite/console/clients/ClientInstallationTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/src/main/java/org/keycloak/protocol/oidc/installation/KeycloakOIDCClientInstallation.java b/services/src/main/java/org/keycloak/protocol/oidc/installation/KeycloakOIDCClientInstallation.java index bd87517479..8a6044990e 100755 --- a/services/src/main/java/org/keycloak/protocol/oidc/installation/KeycloakOIDCClientInstallation.java +++ b/services/src/main/java/org/keycloak/protocol/oidc/installation/KeycloakOIDCClientInstallation.java @@ -78,7 +78,7 @@ public class KeycloakOIDCClientInstallation implements ClientInstallationProvide @Override public String getDisplayType() { - return "Keycloak OIDC keycloak.json"; + return "Keycloak OIDC JSON"; } @Override diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/clients/ClientInstallationTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/clients/ClientInstallationTest.java index 3ee6335be9..bf7bb06f12 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/clients/ClientInstallationTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/clients/ClientInstallationTest.java @@ -55,13 +55,13 @@ public class ClientInstallationTest extends AbstractClientTest { @Test public void jsonTest() { - clientInstallationPage.form().setConfigFormat("Keycloak JSON"); + clientInstallationPage.form().setConfigFormat("Keycloak OIDC JSON"); assertTrue(clientInstallationPage.form().getTextareaContent().contains("\"realm\": \"test\"")); } @Test public void wildflySubsystemTest() { - clientInstallationPage.form().setConfigFormat("Wildfly/EAP Subsystem XML"); + clientInstallationPage.form().setConfigFormat("Keycloak OIDC JBoss Subsystem XML"); assertTrue(clientInstallationPage.form().getTextareaContent().contains("test")); } }