[java-opensaml] branch main updated: Track bug fix in spring-test 5.3.0
Ian Young
ian at iay.org.uk
Thu Oct 29 16:48:07 UTC 2020
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch main
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=bfa11d7bb394a67ec49373330eb746cf459819ec
The following commit(s) were added to refs/heads/main by this push:
new bfa11d7bb Track bug fix in spring-test 5.3.0
bfa11d7bb is described below
commit bfa11d7bb394a67ec49373330eb746cf459819ec
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Oct 29 16:31:16 2020 +0000
Track bug fix in spring-test 5.3.0
See https://github.com/spring-projects/spring-framework/issues/25536
---
.../saml1/binding/encoding/impl/HTTPPostEncoderTest.java | 2 +-
.../saml1/binding/encoding/impl/HTTPSOAP11EncoderTest.java | 2 +-
.../saml2/binding/encoding/impl/HTTPPostEncoderTest.java | 4 ++--
.../binding/encoding/impl/HTTPPostSimpleSignEncoderTest.java | 4 ++--
.../saml2/binding/encoding/impl/HTTPSOAP11EncoderTest.java | 2 +-
.../soap/soap11/encoder/http/impl/HTTPSOAP11EncoderTest.java | 12 ++++++------
6 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/impl/HTTPPostEncoderTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/impl/HTTPPostEncoderTest.java
index 93ebb219d..2967ce320 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/impl/HTTPPostEncoderTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/impl/HTTPPostEncoderTest.java
@@ -102,7 +102,7 @@ public class HTTPPostEncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
encoder.encode();
- Assert.assertEquals(response.getContentType(), "text/html", "Unexpected content type");
+ Assert.assertEquals(response.getContentType(), "text/html;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");
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/impl/HTTPSOAP11EncoderTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/impl/HTTPSOAP11EncoderTest.java
index 686223f08..4c843e985 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/impl/HTTPSOAP11EncoderTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml1/binding/encoding/impl/HTTPSOAP11EncoderTest.java
@@ -79,7 +79,7 @@ public class HTTPSOAP11EncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
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"), "http://www.oasis-open.org/committees/security");
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPPostEncoderTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPPostEncoderTest.java
index 8234e62fc..83beb6d48 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPPostEncoderTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPPostEncoderTest.java
@@ -122,7 +122,7 @@ public class HTTPPostEncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
encoder.encode();
- Assert.assertEquals(response.getContentType(), "text/html", "Unexpected content type");
+ Assert.assertEquals(response.getContentType(), "text/html;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");
@@ -216,7 +216,7 @@ public class HTTPPostEncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
encoder.encode();
- Assert.assertEquals(response.getContentType(), "text/html", "Unexpected content type");
+ Assert.assertEquals(response.getContentType(), "text/html;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");
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPPostSimpleSignEncoderTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPPostSimpleSignEncoderTest.java
index ea369ca04..4635c671a 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPPostSimpleSignEncoderTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPPostSimpleSignEncoderTest.java
@@ -132,7 +132,7 @@ public class HTTPPostSimpleSignEncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
encoder.encode();
- Assert.assertEquals(response.getContentType(), "text/html", "Unexpected content type");
+ Assert.assertEquals(response.getContentType(), "text/html;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");
@@ -226,7 +226,7 @@ public class HTTPPostSimpleSignEncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
encoder.encode();
- Assert.assertEquals(response.getContentType(), "text/html", "Unexpected content type");
+ Assert.assertEquals(response.getContentType(), "text/html;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");
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPSOAP11EncoderTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPSOAP11EncoderTest.java
index 8167e3b93..fe424ed07 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPSOAP11EncoderTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/binding/encoding/impl/HTTPSOAP11EncoderTest.java
@@ -92,7 +92,7 @@ public class HTTPSOAP11EncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
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"), "http://www.oasis-open.org/committees/security");
diff --git a/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/encoder/http/impl/HTTPSOAP11EncoderTest.java b/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/encoder/http/impl/HTTPSOAP11EncoderTest.java
index c65ddde19..8e4a92005 100644
--- a/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/encoder/http/impl/HTTPSOAP11EncoderTest.java
+++ b/opensaml-soap-impl/src/test/java/org/opensaml/soap/soap11/encoder/http/impl/HTTPSOAP11EncoderTest.java
@@ -89,7 +89,7 @@ public class HTTPSOAP11EncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
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"), "");
@@ -145,7 +145,7 @@ public class HTTPSOAP11EncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
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"), "");
@@ -208,7 +208,7 @@ public class HTTPSOAP11EncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
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"), "");
@@ -272,7 +272,7 @@ public class HTTPSOAP11EncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
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.getStatus(), 200);
@@ -305,7 +305,7 @@ public class HTTPSOAP11EncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
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.getStatus(), 500);
@@ -356,7 +356,7 @@ public class HTTPSOAP11EncoderTest extends XMLObjectBaseTestCase {
encoder.prepareContext();
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.getStatus(), 500);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list