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