directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: rev 6827 - incubator/directory/naming/trunk/core/src/test/org/apache/naming/resources
Date Mon, 23 Feb 2004 03:39:55 GMT
Author: psteitz
Date: Sun Feb 22 19:39:54 2004
New Revision: 6827

Modified:
   incubator/directory/naming/trunk/core/src/test/org/apache/naming/resources/AbstractDirContextTest.java
Log:
Fixed attribute modification type error.

Modified: incubator/directory/naming/trunk/core/src/test/org/apache/naming/resources/AbstractDirContextTest.java
==============================================================================
--- incubator/directory/naming/trunk/core/src/test/org/apache/naming/resources/AbstractDirContextTest.java
(original)
+++ incubator/directory/naming/trunk/core/src/test/org/apache/naming/resources/AbstractDirContextTest.java
Sun Feb 22 19:39:54 2004
@@ -288,7 +288,7 @@
       
       if(replaceAttributeName() != null) {
           Attribute replaceModification = new BasicAttribute(replaceAttributeName(), replaceAttributeValue());
-          modifications[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE, replaceModification);
    
+          modifications[0] = new ModificationItem(DirContext.REMOVE_ATTRIBUTE, replaceModification);
    
           context.modifyAttributes("", modifications);
           verifyAttribute(context, "", replaceAttributeName(), replaceAttributeValue());
       }

Mime
View raw message