Remove SOAPException from SOAPBindingTest as RunOnServer cannot load it
Closes #11090
This commit is contained in:
parent
01e16a569d
commit
4c20388eb7
1 changed files with 1 additions and 4 deletions
|
@ -31,11 +31,8 @@ import org.keycloak.testsuite.util.SamlClientBuilder;
|
|||
|
||||
import javax.ws.rs.core.Response;
|
||||
import javax.xml.soap.MessageFactory;
|
||||
import javax.xml.soap.SOAPException;
|
||||
import javax.xml.soap.SOAPMessage;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import static org.hamcrest.MatcherAssert.assertThat;
|
||||
import static org.hamcrest.Matchers.empty;
|
||||
import static org.hamcrest.Matchers.equalTo;
|
||||
|
@ -253,7 +250,7 @@ public class SOAPBindingTest extends AbstractSamlTest {
|
|||
SOAPMessage soapMessage = messageFactory.createMessage(null, response.getEntity().getContent());
|
||||
String faultDetail = soapMessage.getSOAPBody().getFault().getDetail().getValue();
|
||||
assertThat(faultDetail, is(equalTo("Client is not allowed to use ECP profile.")));
|
||||
} catch (SOAPException | IOException e) {
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue