@@ -193,29 +193,29 @@ public function testLdapRenameWithoutRemovingOldRdn()
193193 $ this ->executeSearchQuery (1 );
194194 }
195195
196- public function testLdapAddRemoveValues ()
196+ public function testLdapAddRemoveAttributeValues ()
197197 {
198198 $ entryManager = $ this ->adapter ->getEntryManager ();
199199
200200 $ result = $ this ->executeSearchQuery (1 );
201201 $ entry = $ result [0 ];
202202
203- $ entryManager ->addValues ($ entry , 'mail ' , array ('fabpot@example.org ' , 'fabpot2@example.org ' ));
203+ $ entryManager ->addAttributeValues ($ entry , 'mail ' , array ('fabpot@example.org ' , 'fabpot2@example.org ' ));
204204
205205 $ result = $ this ->executeSearchQuery (1 );
206206 $ newEntry = $ result [0 ];
207207
208208 $ this ->assertCount (4 , $ newEntry ->getAttribute ('mail ' ));
209209
210- $ entryManager ->removeValues ($ newEntry , 'mail ' , array ('fabpot@example.org ' , 'fabpot2@example.org ' ));
210+ $ entryManager ->removeAttributeValues ($ newEntry , 'mail ' , array ('fabpot@example.org ' , 'fabpot2@example.org ' ));
211211
212212 $ result = $ this ->executeSearchQuery (1 );
213213 $ newNewEntry = $ result [0 ];
214214
215215 $ this ->assertCount (2 , $ newNewEntry ->getAttribute ('mail ' ));
216216 }
217217
218- public function testLdapRemoveValuesError ()
218+ public function testLdapRemoveAttributeValuesError ()
219219 {
220220 $ entryManager = $ this ->adapter ->getEntryManager ();
221221
@@ -224,10 +224,10 @@ public function testLdapRemoveValuesError()
224224
225225 $ this ->{method_exists ($ this , $ _ = 'expectException ' ) ? $ _ : 'setExpectedException ' }(LdapException::class);
226226
227- $ entryManager ->removeValues ($ entry , 'mail ' , array ('fabpot@example.org ' ));
227+ $ entryManager ->removeAttributeValues ($ entry , 'mail ' , array ('fabpot@example.org ' ));
228228 }
229229
230- public function testLdapAddValuesError ()
230+ public function testLdapAddAttributeValuesError ()
231231 {
232232 $ entryManager = $ this ->adapter ->getEntryManager ();
233233
@@ -236,6 +236,6 @@ public function testLdapAddValuesError()
236236
237237 $ this ->{method_exists ($ this , $ _ = 'expectException ' ) ? $ _ : 'setExpectedException ' }(LdapException::class);
238238
239- $ entryManager ->addValues ($ entry , 'mail ' , $ entry ->getAttribute ('mail ' ));
239+ $ entryManager ->addAttributeValues ($ entry , 'mail ' , $ entry ->getAttribute ('mail ' ));
240240 }
241241}
0 commit comments