[java-idp-integration-tests] branch main updated: Fix handling of IdP versions in consent test
Tom Zeller
tzeller at dragonacea.biz
Mon Sep 1 12:51:03 UTC 2025
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=9011351046cb7fefa9ac4010dcbe8dd657423b84
The following commit(s) were added to refs/heads/main by this push:
new 9011351 Fix handling of IdP versions in consent test
9011351 is described below
commit 9011351046cb7fefa9ac4010dcbe8dd657423b84
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Mon Sep 1 07:50:46 2025 -0500
Fix handling of IdP versions in consent test
---
.../integration/tests/consent/PruneRecordsPostgresConsentTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/net/shibboleth/idp/integration/tests/consent/PruneRecordsPostgresConsentTest.java b/src/test/java/net/shibboleth/idp/integration/tests/consent/PruneRecordsPostgresConsentTest.java
index 6426885..491d103 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/consent/PruneRecordsPostgresConsentTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/consent/PruneRecordsPostgresConsentTest.java
@@ -165,8 +165,8 @@ public class PruneRecordsPostgresConsentTest extends BasePostgresConsentTest {
responsePageURLPath = "/sp/SAML2/POST/ACS";
- // expect JSON runtime exception for IdP 5.1 (or earlier)
- if (idpVersion.startsWith("5.1")) {
+ // expect JSON runtime exception for IdP 5.1.5 or earlier
+ if (Integer.parseInt(idpVersion.replaceAll("\\.", "").replace("-SNAPSHOT", "")) <= 515) {
waitForPageBodyContains("jakarta.json.stream.JsonParsingException");
return;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list