cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Fixing failing test
Date Tue, 27 Jan 2015 16:43:27 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 2867e7497 -> 319ff7490


Fixing failing test


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/319ff749
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/319ff749
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/319ff749

Branch: refs/heads/master
Commit: 319ff7490f9c1912ea0ac98048ad5815a2e1481f
Parents: 2867e74
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Jan 27 16:43:17 2015 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Jan 27 16:43:17 2015 +0000

----------------------------------------------------------------------
 .../java/org/apache/cxf/systest/ws/fault/ModifiedRequestTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/319ff749/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/fault/ModifiedRequestTest.java
----------------------------------------------------------------------
diff --git a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/fault/ModifiedRequestTest.java
b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/fault/ModifiedRequestTest.java
index 16d3d08..7205ce5 100644
--- a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/fault/ModifiedRequestTest.java
+++ b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/fault/ModifiedRequestTest.java
@@ -269,7 +269,7 @@ public class ModifiedRequestTest extends AbstractBusClientServerTestBase
{
                 Iterator<?> subcodeIterator = fault.getFaultSubcodes();
                 assertFalse(subcodeIterator.hasNext());
             } else {
-                assertEquals("soap:Sender", fault.getFaultCode());
+                assertTrue(fault.getFaultCode().endsWith("Sender"));
                 assertEquals(fault.getFaultString(), WSSecurityException.UNIFIED_SECURITY_ERR);
                 Iterator<?> subcodeIterator = fault.getFaultSubcodes();
                 assertTrue(subcodeIterator.hasNext());


Mime
View raw message