test adoption for stable12
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
7f0e4a5357
commit
32597f8966
|
@ -1036,8 +1036,10 @@ class User_LDAPTest extends TestCase {
|
|||
|
||||
$access->expects($this->any())
|
||||
->method('stringResemblesDN')
|
||||
->with($this->equalTo('dnOfRoland,dc=test'))
|
||||
->will($this->returnValue(true));
|
||||
->will($this->returnCallback(function($string) {
|
||||
// very simplified
|
||||
return strpos($string, ',') !== false;
|
||||
}));
|
||||
|
||||
$access->expects($this->any())
|
||||
->method('setPassword')
|
||||
|
|
Loading…
Reference in New Issue