[java-oidc-common] branch main updated: Quick fix for two broken unit tests.
Henri Mikkonen
henri.mikkonen at iki.fi
Fri Dec 23 07:07:48 UTC 2022
This is an automated email from the git hooks/post-receive script.
hjmikkon pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=a62efe1245a4e06bee82259690dbf1ec091b4934
The following commit(s) were added to refs/heads/main by this push:
new a62efe1 Quick fix for two broken unit tests.
a62efe1 is described below
commit a62efe1245a4e06bee82259690dbf1ec091b4934
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Dec 23 09:07:08 2022 +0200
Quick fix for two broken unit tests.
I'll double-check this with Phil after holidays.
---
.../oidc/profile/encoding/impl/HTTPPostAuthnRequestEncoderTest.java | 1 +
.../oidc/profile/encoding/impl/HTTPRedirectAuthnRequestEncoderTest.java | 1 +
2 files changed, 2 insertions(+)
diff --git a/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/encoding/impl/HTTPPostAuthnRequestEncoderTest.java b/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/encoding/impl/HTTPPostAuthnRequestEncoderTest.java
index 14818d6..2554550 100644
--- a/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/encoding/impl/HTTPPostAuthnRequestEncoderTest.java
+++ b/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/encoding/impl/HTTPPostAuthnRequestEncoderTest.java
@@ -92,6 +92,7 @@ public class HTTPPostAuthnRequestEncoderTest {
.withIDTokenClaimsRequest(new VerifiedClaimsSetRequest().add("given_name"))
.withUserInfoClaimsRequest(new VerifiedClaimsSetRequest().add("family_name"));
request.setRequestedClaims(requestedClaims);
+ request.setProviderSupportsClaimsParameter(true);
encoder.initialize();
encoder.encode();
diff --git a/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/encoding/impl/HTTPRedirectAuthnRequestEncoderTest.java b/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/encoding/impl/HTTPRedirectAuthnRequestEncoderTest.java
index 9bd3f59..4ce0b7a 100644
--- a/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/encoding/impl/HTTPRedirectAuthnRequestEncoderTest.java
+++ b/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/encoding/impl/HTTPRedirectAuthnRequestEncoderTest.java
@@ -87,6 +87,7 @@ public class HTTPRedirectAuthnRequestEncoderTest {
.withIDTokenClaimsRequest(new VerifiedClaimsSetRequest().add("given_name"))
.withUserInfoClaimsRequest(new VerifiedClaimsSetRequest().add("family_name"));
request.setRequestedClaims(requestedClaims);
+ request.setProviderSupportsClaimsParameter(true);
encoder.initialize();
encoder.encode();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list