[KEYCLOAK-6116] - Enabling tests for both jboss servers

This commit is contained in:
pedroigor 2018-03-02 10:22:20 -03:00
parent 6aee573e2e
commit 1f13427dee
3 changed files with 1418 additions and 2 deletions

View file

@ -104,7 +104,7 @@ public abstract class AbstractX509AuthenticationTest extends AbstractTestRealmKe
@BeforeClass @BeforeClass
public static void onBeforeTestClass() { public static void onBeforeTestClass() {
if (System.getProperty("auth.server.container", "undefined").endsWith("wildfly")) { if (Boolean.parseBoolean(System.getProperty("auth.server.jboss"))) {
String authServerHome = System.getProperty("auth.server.home"); String authServerHome = System.getProperty("auth.server.home");
if (authServerHome != null && System.getProperty("auth.server.ssl.required") != null) { if (authServerHome != null && System.getProperty("auth.server.ssl.required") != null) {

View file

@ -48,7 +48,7 @@ public class X509BrowserLoginSubjectAltNameEmailTest extends AbstractX509Authent
@BeforeClass @BeforeClass
public static void onBeforeTestClass() { public static void onBeforeTestClass() {
if (System.getProperty("auth.server.container", "undefined").endsWith("wildfly")) { if (Boolean.parseBoolean(System.getProperty("auth.server.jboss"))) {
String authServerHome = System.getProperty("auth.server.home"); String authServerHome = System.getProperty("auth.server.home");
if (authServerHome != null && System.getProperty("auth.server.ssl.required") != null) { if (authServerHome != null && System.getProperty("auth.server.ssl.required") != null) {