Skip to content

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Skert committed Apr 9, 2019
1 parent 40e23b4 commit 5a6dc09
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ $ docker run -e KEYCLOAK_URL=http://<your keycloak host>:8080 \
-e JWKS_CONNECT_TIMEOUT=250 \
-e JWKS_READ_TIMEOUT=250 \
-e JWKS_SIZE_LIMIT=51200 \
-v <your config path>:/opt/keycloak-config-cli/configs \
-v <your config path>:/tmp/keycloak-config-cli/configs \
adorsys/keycloak-config-cli:latest \
config-cli
```
Expand Down
12 changes: 6 additions & 6 deletions config-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
</configuration>
<executions>
<execution>
<id>cleanup-stop-timp-keycloak</id>
<id>cleanup-stop-keycloak</id>
<phase>pre-integration-test</phase>
<goals>
<goal>stop</goal>
Expand All @@ -168,7 +168,7 @@
</configuration>
</execution>
<execution>
<id>cleanup-remove-timp-keycloak-be</id>
<id>cleanup-remove-keycloak</id>
<phase>pre-integration-test</phase>
<goals>
<goal>remove</goal>
Expand All @@ -178,7 +178,7 @@
</configuration>
</execution>
<execution>
<id>build-timp-keycloak</id>
<id>build-keycloak</id>
<phase>pre-integration-test</phase>
<goals>
<goal>build</goal>
Expand All @@ -188,7 +188,7 @@
</configuration>
</execution>
<execution>
<id>prepare-timp-keycloak</id>
<id>prepare-keycloak</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
Expand Down Expand Up @@ -226,7 +226,7 @@
</configuration>
</execution>
<execution>
<id>stop-timp-keycloak</id>
<id>stop-keycloak</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
Expand All @@ -236,7 +236,7 @@
</configuration>
</execution>
<execution>
<id>remove-timp-keycloak</id>
<id>remove-keycloak</id>
<phase>post-integration-test</phase>
<goals>
<goal>remove</goal>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private void shouldUpdateSimpleRealm() throws Exception {

assertThat(updatedRealm.getRealm(), is(REALM_NAME));
assertThat(updatedRealm.isEnabled(), is(true));
assertThat(updatedRealm.getLoginTheme(), is("timp"));
assertThat(updatedRealm.getLoginTheme(), is("moped"));
}

private void shouldCreateSimpleRealmWithLoginTheme() throws Exception {
Expand All @@ -97,7 +97,7 @@ private void shouldCreateSimpleRealmWithLoginTheme() throws Exception {

assertThat(createdRealm.getRealm(), is("simpleWithLoginTheme"));
assertThat(createdRealm.isEnabled(), is(true));
assertThat(createdRealm.getLoginTheme(), is("timp"));
assertThat(createdRealm.getLoginTheme(), is("moped"));
}

private void doImport(String realmImport) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"enabled": true,
"realm": "simple",
"loginTheme": "timp"
"loginTheme": "moped"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"enabled": true,
"realm": "simpleWithLoginTheme",
"loginTheme": "timp"
"loginTheme": "moped"
}

0 comments on commit 5a6dc09

Please sign in to comment.