Révision 4f315dab
Ajouté par Assos Assos il y a environ 8 ans
drupal7/sites/all/modules/cas/cas.test | ||
---|---|---|
35 | 35 |
$this->admin_user = $this->drupalCreateUser(array('administer users', 'administer cas')); |
36 | 36 |
|
37 | 37 |
// Download and extract in PHPCAS. |
38 |
$this->downloadExtractPhpCas('1.3.2');
|
|
38 |
$this->downloadExtractPhpCas('1.3.3');
|
|
39 | 39 |
} |
40 | 40 |
|
41 | 41 |
/** |
... | ... | |
278 | 278 |
$this->assertFalse($account->cas_name, t('CAS username successfully deleted.')); |
279 | 279 |
$this->assertEqual(count($account->cas_names), 0, t('No CAS usernames are present.')); |
280 | 280 |
|
281 |
// Attempt to load by a non-existant CAS username.
|
|
281 |
// Attempt to load by a non-existent CAS username.
|
|
282 | 282 |
$account = cas_user_load_by_name($cas_new_name); |
283 | 283 |
$this->assertFalse($account, t('Could not load account with non-existent CAS username.')); |
284 | 284 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules