You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2015/08/10 11:25:51 UTC

svn commit: r1695003 - /webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/AttachmentTest.java

Author: coheigea
Date: Mon Aug 10 09:25:51 2015
New Revision: 1695003

URL: http://svn.apache.org/r1695003
Log:
Fixing test

Modified:
    webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/AttachmentTest.java

Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/AttachmentTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/AttachmentTest.java?rev=1695003&r1=1695002&r2=1695003&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/AttachmentTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/wss4j/dom/message/AttachmentTest.java Mon Aug 10 09:25:51 2015
@@ -198,7 +198,7 @@ public class AttachmentTest extends org.
         builder.setUserInfo("16c73ab6-b892-458f-abf5-2f875f74882e", "security");
 
         builder.getParts().add(new WSEncryptionPart("Body", "http://schemas.xmlsoap.org/soap/envelope/", "Content"));
-        builder.getParts().add(new WSEncryptionPart("cid:Attachments", "Content"));
+        builder.getParts().add(new WSEncryptionPart("cid:Attachments", "Element"));
 
         final String attachmentId = UUID.randomUUID().toString();
         final Attachment attachment = new Attachment();