KEYCLOAK-9262 Skip SAMLFilterServletAdapterTest for jdk7
This commit is contained in:
parent
7f5816ab74
commit
0602a88fcc
1 changed files with 8 additions and 0 deletions
|
@ -1,7 +1,9 @@
|
|||
package org.keycloak.testsuite.adapter.servlet;
|
||||
|
||||
import org.junit.After;
|
||||
import org.junit.Assume;
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.keycloak.testsuite.arquillian.annotation.AppServerContainer;
|
||||
|
@ -21,6 +23,12 @@ import org.keycloak.testsuite.arquillian.containers.ContainerConstants;
|
|||
filterDependency = "org.keycloak:keycloak-saml-servlet-filter-adapter")
|
||||
public class SAMLFilterServletAdapterTest extends SAMLServletAdapterTest {
|
||||
|
||||
@BeforeClass
|
||||
public static void enabled() {
|
||||
String appServerJavaHome = System.getProperty("app.server.java.home", "");
|
||||
Assume.assumeFalse(appServerJavaHome.contains("1.7") || appServerJavaHome.contains("ibm-java-70"));
|
||||
}
|
||||
|
||||
@Before
|
||||
public void checkRoles() {
|
||||
badClientSalesPostSigServletPage.checkRoles(true);
|
||||
|
|
Loading…
Reference in a new issue