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 2011/12/22 10:06:27 UTC

svn commit: r1222106 - /directory/apacheds/branches/apacheds-txns/core-integ/src/test/java/org/apache/directory/server/core/authz/DeleteAuthorizationIT.java

Author: elecharny
Date: Thu Dec 22 09:06:27 2011
New Revision: 1222106

URL: http://svn.apache.org/viewvc?rev=1222106&view=rev
Log:
Changed the way we create the entry

Modified:
    directory/apacheds/branches/apacheds-txns/core-integ/src/test/java/org/apache/directory/server/core/authz/DeleteAuthorizationIT.java

Modified: directory/apacheds/branches/apacheds-txns/core-integ/src/test/java/org/apache/directory/server/core/authz/DeleteAuthorizationIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-txns/core-integ/src/test/java/org/apache/directory/server/core/authz/DeleteAuthorizationIT.java?rev=1222106&r1=1222105&r2=1222106&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-txns/core-integ/src/test/java/org/apache/directory/server/core/authz/DeleteAuthorizationIT.java (original)
+++ directory/apacheds/branches/apacheds-txns/core-integ/src/test/java/org/apache/directory/server/core/authz/DeleteAuthorizationIT.java Thu Dec 22 09:06:27 2011
@@ -92,9 +92,10 @@ public class DeleteAuthorizationIT exten
         Dn entryDn = new Dn( entryRdn + ",ou=system" );
 
         // create the entry with the telephoneNumber attribute to compare
-        Entry testEntry = new DefaultEntry(entryDn);
-        testEntry.add( SchemaConstants.OBJECT_CLASS_AT, "organizationalUnit" );
-        testEntry.add( SchemaConstants.OU_AT, "testou" );
+        Entry testEntry = new DefaultEntry( 
+        		entryDn,
+        		"objectClass: organizationalUnit",
+        		"ou: testou" );
 
         LdapConnection adminConnection = getAdminConnection();