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

Ian Young ian at iay.org.uk
Thu Oct 29 16:48:19 UTC 2020


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=f09a6f88db57e2d0dbb3059e7c912f538b2f3291

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

commit f09a6f88db57e2d0dbb3059e7c912f538b2f3291
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Oct 29 15:39:17 2020 +0000

    Track bug fix in spring-test 5.3.0
    
    See https://github.com/spring-projects/spring-framework/issues/25536
---
 .../java/support/net/ThreadLocalHttpServletResponseProxyTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletResponseProxyTest.java b/src/test/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletResponseProxyTest.java
index 76e5043..fd4bb94 100644
--- a/src/test/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletResponseProxyTest.java
+++ b/src/test/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletResponseProxyTest.java
@@ -75,7 +75,7 @@ public class ThreadLocalHttpServletResponseProxyTest {
         HttpServletRequestResponseContext.loadCurrent(request, response);
         
         ThreadLocalHttpServletResponseProxy proxy = new ThreadLocalHttpServletResponseProxy();
-        Assert.assertEquals(proxy.getContentType(), "text/html");
+        Assert.assertEquals(proxy.getContentType(), "text/html;charset=UTF-8");
         Assert.assertEquals(proxy.getCharacterEncoding(), "UTF-8");
         Assert.assertTrue(proxy.containsHeader("MyResponseHeader"));
         

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


More information about the commits mailing list