[java-identity-provider] branch master updated: Tie servlet request and context mock objects together correctly.
Scott Cantor
cantor.2 at osu.edu
Tue Sep 24 15:16:35 EDT 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=9cda5d67f5c96cc2fdd6de0855f6253109630e5b
The following commit(s) were added to refs/heads/master by this push:
new 9cda5d6 Tie servlet request and context mock objects together correctly.
9cda5d6 is described below
commit 9cda5d67f5c96cc2fdd6de0855f6253109630e5b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Sep 24 15:16:31 2019 -0400
Tie servlet request and context mock objects together correctly.
---
.../src/test/java/net/shibboleth/idp/profile/RequestContextBuilder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idp-profile-api/src/test/java/net/shibboleth/idp/profile/RequestContextBuilder.java b/idp-profile-api/src/test/java/net/shibboleth/idp/profile/RequestContextBuilder.java
index 953666c..92b80e6 100644
--- a/idp-profile-api/src/test/java/net/shibboleth/idp/profile/RequestContextBuilder.java
+++ b/idp-profile-api/src/test/java/net/shibboleth/idp/profile/RequestContextBuilder.java
@@ -313,7 +313,7 @@ public class RequestContextBuilder {
}
if (httpRequest == null) {
- final MockHttpServletRequest hdr = new MockHttpServletRequest();
+ final MockHttpServletRequest hdr = new MockHttpServletRequest(servletContext);
hdr.addHeader("Accept-Language", Locale.ENGLISH.getLanguage());
httpRequest = hdr;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list