adjust login test to code changes
This commit is contained in:
parent
fc6793f2ae
commit
eb7d70fc39
|
@ -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 New Issue