You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2015/11/12 16:23:28 UTC
[2/9] cxf git commit: Fix comparison to allow for Jetty 9.3
Fix comparison to allow for Jetty 9.3
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/a2398cad
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a2398cad
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a2398cad
Branch: refs/heads/3.1.x-fixes
Commit: a2398cad82a549f9068351baf8185f2a1da4bcb4
Parents: 1444405
Author: Daniel Kulp <dk...@apache.org>
Authored: Wed Nov 11 10:10:14 2015 -0500
Committer: Daniel Kulp <dk...@apache.org>
Committed: Thu Nov 12 10:22:44 2015 -0500
----------------------------------------------------------------------
.../src/test/java/org/apache/cxf/ext/logging/SOAPLoggingTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/a2398cad/rt/features/logging/src/test/java/org/apache/cxf/ext/logging/SOAPLoggingTest.java
----------------------------------------------------------------------
diff --git a/rt/features/logging/src/test/java/org/apache/cxf/ext/logging/SOAPLoggingTest.java b/rt/features/logging/src/test/java/org/apache/cxf/ext/logging/SOAPLoggingTest.java
index 2dbe150..f2af1e8 100644
--- a/rt/features/logging/src/test/java/org/apache/cxf/ext/logging/SOAPLoggingTest.java
+++ b/rt/features/logging/src/test/java/org/apache/cxf/ext/logging/SOAPLoggingTest.java
@@ -124,7 +124,7 @@ public class SOAPLoggingTest {
private void checkResponseIn(LogEvent responseIn) {
Assert.assertNull(responseIn.getAddress());
- Assert.assertEquals("text/xml; charset=UTF-8", responseIn.getContentType());
+ Assert.assertEquals("text/xml;charset=utf-8", responseIn.getContentType().toLowerCase().replace(" ", ""));
Assert.assertEquals(EventType.RESP_IN, responseIn.getType());
Assert.assertEquals(StandardCharsets.UTF_8.name(), responseIn.getEncoding());
Assert.assertNotNull(responseIn.getExchangeId());