Author: coheigea
Date: Wed Feb 27 22:18:50 2013
New Revision: 1451000
URL: http://svn.apache.org/r1451000
Log:
Merged revisions 1450975 via git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk
........
r1450975 | coheigea | 2013-02-27 13:32:34 -0800 (Wed, 27 Feb 2013) | 2 lines
Fixing test with new WSS4J SNAPSHOT
........
Modified:
cxf/branches/2.7.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java
Modified:
cxf/branches/2.7.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java
URL:
http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java?rev=1451000&r1=1450999&r2=1451000&view=diff
==============================================================================
---
cxf/branches/2.7.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java
(original)
+++
cxf/branches/2.7.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java
Wed Feb 27 22:18:50 2013
@@ -203,17 +203,14 @@ public class WSSecurityClientTest extend
java.io.InputStream is = null;
String result = null;
//
- // Check to ensure that a well-formed request will pass
+ // Old Created Date should result in a Fault
//
dispatcher = createUsernameTokenDispatcher();
is = getClass().getResourceAsStream(
"test-data/UsernameTokenRequest.xml"
);
result = source2String(dispatcher.invoke(new StreamSource(is)));
- assertTrue(result.indexOf("Bonjour") != -1);
- //make sure the principal was set
- assertNotNull(GreeterImpl.getUser());
- assertEquals("alice", GreeterImpl.getUser().getName());
+ assertTrue(result.indexOf("Fault") != -1);
//
// Sending no security headers should result in a Fault