adjust unit test
This commit is contained in:
parent
4020d5b77a
commit
aedbc0c626
|
@ -686,6 +686,14 @@ class Test_User_Ldap_Direct extends \Test\TestCase {
|
|||
return false;
|
||||
}
|
||||
}));
|
||||
|
||||
$userMapper = $this->getMockBuilder('\OCA\User_LDAP\Mapping\UserMapping')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
||||
$access->expects($this->any())
|
||||
->method('getUserMapper')
|
||||
->will($this->returnValue($userMapper));
|
||||
}
|
||||
|
||||
public function testGetDisplayName() {
|
||||
|
|
Loading…
Reference in New Issue