directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1222106 - /directory/apacheds/branches/apacheds-txns/core-integ/src/test/java/org/apache/directory/server/core/authz/DeleteAuthorizationIT.java
Date Thu, 22 Dec 2011 09:06:27 GMT
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();
 



Mime
View raw message