adjust login test to code changes

remotes/origin/fix-10825
Arthur Schiwon 11 years ago
parent fc6793f2ae
commit eb7d70fc39
  1. 5
      apps/user_ldap/tests/user_ldap.php

@ -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…
Cancel
Save