Fix client installation test

This commit is contained in:
Stian Thorgersen 2016-01-14 11:53:47 +01:00
parent ddb41e2c58
commit a6da6e48f9
2 changed files with 3 additions and 3 deletions

View file

@ -78,7 +78,7 @@ public class KeycloakOIDCClientInstallation implements ClientInstallationProvide
@Override
public String getDisplayType() {
return "Keycloak OIDC keycloak.json";
return "Keycloak OIDC JSON";
}
@Override

View file

@ -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("<realm>test</realm>"));
}
}