KEYCLOAK-13571 KcinitTest fails with -Dproduct due to skipped maven plugin exacution
This commit is contained in:
parent
10d92a01a6
commit
780d11e790
1 changed files with 8 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
package org.keycloak.testsuite.cli;
|
||||
|
||||
import java.io.File;
|
||||
import org.jboss.arquillian.graphene.page.Page;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
|
@ -63,6 +64,8 @@ import java.util.HashMap;
|
|||
import java.util.Map;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import org.junit.Assume;
|
||||
import org.junit.BeforeClass;
|
||||
|
||||
/**
|
||||
* Test that clients can override auth flows
|
||||
|
@ -85,6 +88,11 @@ public class KcinitTest extends AbstractTestRealmKeycloakTest {
|
|||
public void configureTestRealm(RealmRepresentation testRealm) {
|
||||
}
|
||||
|
||||
@BeforeClass
|
||||
public static void kcinitAvailable() {
|
||||
Assume.assumeTrue(new File(KcinitExec.WORK_DIR + File.separator + KcinitExec.CMD).exists());
|
||||
}
|
||||
|
||||
@Before
|
||||
public void setupFlows() {
|
||||
RequiredActionProviderRepresentation rep = adminClient.realm("test").flows().getRequiredAction("terms_and_conditions");
|
||||
|
|
Loading…
Reference in a new issue