Fix client installation test
This commit is contained in:
parent
ddb41e2c58
commit
a6da6e48f9
2 changed files with 3 additions and 3 deletions
|
@ -78,7 +78,7 @@ public class KeycloakOIDCClientInstallation implements ClientInstallationProvide
|
|||
|
||||
@Override
|
||||
public String getDisplayType() {
|
||||
return "Keycloak OIDC keycloak.json";
|
||||
return "Keycloak OIDC JSON";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -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>"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue