diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/saml/SamlConsentTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/saml/SamlConsentTest.java index 4619037f5e..3fcf0c36d6 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/saml/SamlConsentTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/saml/SamlConsentTest.java @@ -31,7 +31,7 @@ public class SamlConsentTest extends AbstractSamlTest { } @Test - public void signingOfRejectedConsentAssertionTest() throws ParsingException, ConfigurationException, ProcessingException { + public void rejectedConsentResponseTest() throws ParsingException, ConfigurationException, ProcessingException { ClientRepresentation client = adminClient.realm(REALM_NAME) .clients() .findByClientId(SAML_CLIENT_ID_SALES_POST_ENC) @@ -51,8 +51,10 @@ public class SamlConsentTest extends AbstractSamlTest { String idpInitiatedLogin = getAuthServerRoot() + "realms/" + REALM_NAME + "/protocol/saml/clients/sales-post-enc"; SAMLDocumentHolder documentHolder = idpInitiatedLoginWithRequiredConsent(bburkeUser, URI.create(idpInitiatedLogin), SamlClient.Binding.POST, false); - assertThat(IOUtil.documentToString(documentHolder.getSamlDocument()), containsString("