[java-idp-integration-tests] branch main updated: Test user prefs consent revocation on IdP 5 only

Tom Zeller tzeller at dragonacea.biz
Fri Dec 15 21:59:25 UTC 2023


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch main
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=5f9cf6aa7a5315e6ee3b2d74bcc0874dc8563f43

The following commit(s) were added to refs/heads/main by this push:
     new 5f9cf6a  Test user prefs consent revocation on IdP 5 only
5f9cf6a is described below

commit 5f9cf6aa7a5315e6ee3b2d74bcc0874dc8563f43
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Fri Dec 15 15:59:16 2023 -0600

    Test user prefs consent revocation on IdP 5 only
    
    https://shibboleth.atlassian.net/browse/IDP-2175
---
 .../tests/saml2/AbstractSAML2IntegrationTest.java           | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/test/java/net/shibboleth/idp/integration/tests/saml2/AbstractSAML2IntegrationTest.java b/src/test/java/net/shibboleth/idp/integration/tests/saml2/AbstractSAML2IntegrationTest.java
index 9a0eebb..fae976b 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/saml2/AbstractSAML2IntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/saml2/AbstractSAML2IntegrationTest.java
@@ -839,7 +839,20 @@ public abstract class AbstractSAML2IntegrationTest extends BaseIntegrationTest {
         validateResponse();
     }
 
+    /**
+     * Test consent revocation using the user prefs page.
+     * 
+     * Only for IdP version 5 or later.
+     * 
+     * @param browserData browser/os/version triplet provided by data provider
+     * @throws Exception if an error occurs
+     */
     public void testUserPrefsRevokeConsent(@Nullable final BrowserData browserData) throws Exception {
+
+        if (idpVersion.startsWith("4")) {
+         return;   
+        }
+
         startSeleniumClient(browserData);
 
         enableModules("idp.UserPrefs");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list