directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r949365 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java
Date Sat, 29 May 2010 09:47:42 GMT
Author: kayyagari
Date: Sat May 29 09:47:41 2010
New Revision: 949365

URL: http://svn.apache.org/viewvc?rev=949365&view=rev
Log:
fixed test case after fixing  DIRSERVER-1416

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java?rev=949365&r1=949364&r2=949365&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operational/OperationalAttributeServiceIT.java
Sat May 29 09:47:41 2010
@@ -363,10 +363,9 @@ public class OperationalAttributeService
 
     /**
      * Try to add modifiersName attribute to an entry
-     *
-     * @throws NamingException on error
+     * this will succeed look at DIRSERVER-1416
      */
-    @Test( expected=NamingException.class )
+    @Test
     public void testModifyOperationalAttributeAdd() throws Exception
     {
         LdapContext sysRoot = getSystemContext( service );
@@ -378,7 +377,6 @@ public class OperationalAttributeService
 
         sysRoot.modifyAttributes( RDN_KATE_BUSH, new ModificationItem[]
             { modifyOp } );
-        fail( "modification of entry should fail" );
     }
 
 



Mime
View raw message