Révision bc175c27
Ajouté par Assos Assos il y a plus de 5 ans
drupal7/sites/all/modules/ldap/ldap_authentication/tests/ldap_authentication.test | ||
---|---|---|
5 | 5 |
* ldap_authentication simpletests |
6 | 6 |
* |
7 | 7 |
*/ |
8 |
|
|
8 | 9 |
module_load_include('php', 'ldap_test', 'LdapTestCase.class'); |
9 | 10 |
module_load_include('module', 'ldap_authentication'); |
10 | 11 |
|
... | ... | |
225 | 226 |
); |
226 | 227 |
|
227 | 228 |
$this->drupalPost('user', $edit, t('Log in')); |
228 |
$this->assertText(t('Sorry, unrecognized username or password'), 'User 1 failed with bad password', $testid );
|
|
229 |
$this->assertText(t('Sorry, unrecognized username or password'), 'User 1 failed with bad password', $testid ); |
|
229 | 230 |
$this->drupalLogout(); |
230 | 231 |
|
231 | 232 |
/** LDAP_authen.EM.ULT.drupal.goodpwd - result: failed logon **/ |
... | ... | |
677 | 678 |
module_exists('ldap_authentication') && |
678 | 679 |
(variable_get('ldap_simpletest', 2) > 0) |
679 | 680 |
); |
680 |
$this->assertTrue($setup_success, ' ldap_authentication UI setup successful', $this->testId('user interface tests'));
|
|
681 |
$this->assertTrue($setup_success, ' ldap_authentication UI setup successful', $this->testId('user interface tests')); |
|
681 | 682 |
|
682 | 683 |
$sid = 'activedirectory1'; |
683 | 684 |
$sids = array('activedirectory1'); |
Formats disponibles : Unified diff
Weekly update of contrib modules