[java-identity-provider] branch main updated: Track bug fix in spring-test 5.3.0

Ian Young ian at iay.org.uk
Thu Oct 29 16:47:56 UTC 2020


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

iay pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=53d7dd028b0a2043e7170c5f64e0d73ee6fd1d9a

The following commit(s) were added to refs/heads/main by this push:
       new  53d7dd028 Track bug fix in spring-test 5.3.0
53d7dd028 is described below

commit 53d7dd028b0a2043e7170c5f64e0d73ee6fd1d9a
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Oct 29 16:37:33 2020 +0000

    Track bug fix in spring-test 5.3.0
    
    See https://github.com/spring-projects/spring-framework/issues/25536
---
 .../profile/delegation/messaging/impl/LibertyHTTPSOAP11EncoderTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/delegation/messaging/impl/LibertyHTTPSOAP11EncoderTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/delegation/messaging/impl/LibertyHTTPSOAP11EncoderTest.java
index 0ae0f2cf8..ac05d4754 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/delegation/messaging/impl/LibertyHTTPSOAP11EncoderTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/delegation/messaging/impl/LibertyHTTPSOAP11EncoderTest.java
@@ -104,7 +104,7 @@ public class LibertyHTTPSOAP11EncoderTest extends XMLObjectBaseTestCase {
         
         encoder.encode();
 
-        Assert.assertEquals(response.getContentType(), "text/xml", "Unexpected content type");
+        Assert.assertEquals(response.getContentType(), "text/xml;charset=UTF-8", "Unexpected content type");
         Assert.assertEquals("UTF-8", response.getCharacterEncoding(), "Unexpected character encoding");
         Assert.assertEquals(response.getHeader("Cache-control"), "no-cache, no-store", "Unexpected cache controls");
         Assert.assertEquals(response.getHeader("SOAPAction"), LibertyConstants.SSOS_RESPONSE_WSA_ACTION_URI);

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


More information about the commits mailing list