You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2008/07/09 20:28:54 UTC

svn commit: r675287 - /directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java

Author: elecharny
Date: Wed Jul  9 11:28:53 2008
New Revision: 675287

URL: http://svn.apache.org/viewvc?rev=675287&view=rev
Log:
Fixed a pb in a test : the second value was never added to the attribute

Modified:
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java?rev=675287&r1=675286&r2=675287&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java (original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/ldif/LdifUtilsTest.java Wed Jul  9 11:28:53 2008
@@ -542,8 +542,13 @@
 
         AttributesImpl attrs = new AttributesImpl( "objectClass", "person", true );
         attrs.get( "objectClass" ).add( "uidObject" );
-        attrs.put( "cn", "john doe" );
-        attrs.put( "cn", "jack doe" );
+        
+        AttributeImpl attr = new AttributeImpl( "cn" );
+        
+        attr.add( "john doe" );
+        attr.add( "jack doe" );
+        
+        attrs.put( attr );
         attrs.put( "sn", "doe" );
         attrs.put( "uid", "jdoe" );