File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
server-integ/src/test/java/org/apache/directory/server/operations/modify Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,11 @@ public void testRemoveTwoNotRequiredAttributes() throws Exception
242242 Attributes tn = new BasicAttributes ( "telephoneNumber" , "12345678" , true );
243243 ctx .modifyAttributes ( RDN , DirContext .ADD_ATTRIBUTE , tn );
244244
245+ // Verify that attributes are deleted
246+ Attributes attrs = ctx .getAttributes ( RDN );
247+
245248 // Remove description and telephoneNumber to Attribute
246- Attributes attrs = new BasicAttributes ( true );
249+ attrs = new BasicAttributes ( true );
247250 attrs .put ( new BasicAttribute ( "description" ) );
248251 attrs .put ( new BasicAttribute ( "telephoneNumber" ) );
249252 ctx .modifyAttributes ( RDN , DirContext .REMOVE_ATTRIBUTE , attrs );
You can’t perform that action at this time.
0 commit comments