directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r528610 - /directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/ObjStateFactoryITest.java
Date Fri, 13 Apr 2007 19:18:54 GMT
Author: elecharny
Date: Fri Apr 13 12:18:53 2007
New Revision: 528610

URL: http://svn.apache.org/viewvc?view=rev&rev=528610
Log:
Fixed the value stored in the seeAlso attribute, it should be a DN

Modified:
    directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/ObjStateFactoryITest.java

Modified: directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/ObjStateFactoryITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/ObjStateFactoryITest.java?view=diff&rev=528610&r1=528609&r2=528610
==============================================================================
--- directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/ObjStateFactoryITest.java
(original)
+++ directory/apacheds/trunk/core-unit/src/test/java/org/apache/directory/server/core/jndi/ObjStateFactoryITest.java
Fri Apr 13 12:18:53 2007
@@ -64,14 +64,14 @@
     public void testStateFactory() throws NamingException
     {
         super.sysRoot.addToEnvironment( Context.STATE_FACTORIES, PersonStateFactory.class.getName()
);
-        Person p = new Person( "Rodriguez", "Mr. Kerberos", "noices", "555-1212", "erodriguez",
"committer" );
+        Person p = new Person( "Rodriguez", "Mr. Kerberos", "noices", "555-1212", "sn=erodriguez",
"committer" );
         super.sysRoot.bind( "uid=erodriguez, ou=users", p );
         Attributes attrs = super.sysRoot.getAttributes( "uid=erodriguez, ou=users" );
         assertEquals( "Rodriguez", attrs.get( "sn" ).get() );
         assertEquals( "Mr. Kerberos", attrs.get( "cn" ).get() );
         assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "noices".getBytes()
) );
         assertEquals( "555-1212", attrs.get( "telephonenumber" ).get() );
-        assertEquals( "erodriguez", attrs.get( "seealso" ).get() );
+        assertEquals( "sn=erodriguez", attrs.get( "seealso" ).get() );
         assertEquals( "committer", attrs.get( "description" ).get() );
     }
 



Mime
View raw message