directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r910154 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/IllegalModificationIT.java
Date Mon, 15 Feb 2010 01:56:21 GMT
Author: elecharny
Date: Mon Feb 15 01:56:21 2010
New Revision: 910154

URL: http://svn.apache.org/viewvc?rev=910154&view=rev
Log:
Forget to commit this class with the previous commit

Modified:
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/IllegalModificationIT.java

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/IllegalModificationIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/IllegalModificationIT.java?rev=910154&r1=910153&r2=910154&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/IllegalModificationIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/IllegalModificationIT.java
Mon Feb 15 01:56:21 2010
@@ -31,7 +31,6 @@
 import netscape.ldap.LDAPModification;
 
 import org.apache.directory.ldap.client.api.LdapConnection;
-import org.apache.directory.ldap.client.api.exception.LdapException;
 import org.apache.directory.ldap.client.api.message.ModifyRequest;
 import org.apache.directory.ldap.client.api.message.ModifyResponse;
 import org.apache.directory.ldap.client.api.message.SearchResultEntry;
@@ -96,7 +95,7 @@
         ModifyRequest modReq = new ModifyRequest( new LdapDN( DN ) );
         modReq.add( "description", "" );
 
-        ModifyResponse resp = con.modify( modReq, null );
+        ModifyResponse resp = con.modify( modReq );
         assertEquals( ResultCodeEnum.INVALID_ATTRIBUTE_SYNTAX, resp.getLdapResult().getResultCode()
);
 
         // Check whether entry is unmodified, i.e. no description



Mime
View raw message