mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
adjust login test to code changes
This commit is contained in:
parent
fc6793f2ae
commit
eb7d70fc39
1 changed files with 5 additions and 0 deletions
|
|
@ -130,6 +130,11 @@ class Test_User_Ldap_Direct extends \PHPUnit_Framework_TestCase {
|
|||
->with($this->equalTo('dnOfRoland,dc=test'))
|
||||
->will($this->returnValue('gunslinger'));
|
||||
|
||||
$access->expects($this->any())
|
||||
->method('stringResemblesDN')
|
||||
->with($this->equalTo('dnOfRoland,dc=test'))
|
||||
->will($this->returnValue(true));
|
||||
|
||||
$access->expects($this->any())
|
||||
->method('areCredentialsValid')
|
||||
->will($this->returnCallback(function($dn, $pwd) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue