KEYCLOAK-13384 exclude IdentityProviderTest.failCreateInvalidUrl from remote-tests

This commit is contained in:
vramik 2020-03-23 22:08:05 +01:00 committed by Hynek Mlnařík
parent 780d11e790
commit 330d5b2c25

View file

@ -87,6 +87,8 @@ import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail; import static org.junit.Assert.fail;
import static org.keycloak.testsuite.arquillian.AuthServerTestEnricher.AUTH_SERVER_SSL_REQUIRED; import static org.keycloak.testsuite.arquillian.AuthServerTestEnricher.AUTH_SERVER_SSL_REQUIRED;
import org.keycloak.testsuite.arquillian.annotation.AuthServerContainerExclude;
import static org.keycloak.testsuite.arquillian.annotation.AuthServerContainerExclude.AuthServer.REMOTE;
/** /**
* @author <a href="mailto:sthorger@redhat.com">Stian Thorgersen</a> * @author <a href="mailto:sthorger@redhat.com">Stian Thorgersen</a>
@ -167,6 +169,7 @@ public class IdentityProviderTest extends AbstractAdminTest {
} }
@Test @Test
@AuthServerContainerExclude(REMOTE)
public void failCreateInvalidUrl() throws Exception { public void failCreateInvalidUrl() throws Exception {
try (AutoCloseable c = new RealmAttributeUpdater(realmsResouce().realm("test")) try (AutoCloseable c = new RealmAttributeUpdater(realmsResouce().realm("test"))
.updateWith(r -> r.setSslRequired(SslRequired.ALL.name())) .updateWith(r -> r.setSslRequired(SslRequired.ALL.name()))