Revision a8cee257
Added by Assos Assos almost 5 years ago
drupal7/sites/all/modules/captcha/captcha.test | ||
---|---|---|
417 | 417 |
function testAdminAccess() { |
418 | 418 |
$this->drupalLogin($this->normal_user); |
419 | 419 |
$this->drupalGet(self::CAPTCHA_ADMIN_PATH); |
420 |
file_put_contents('tmp.simpletest.html', $this->drupalGetContent()); |
|
421 | 420 |
$this->assertText(t('Access denied'), 'Normal users should not be able to access the CAPTCHA admin pages', 'CAPTCHA'); |
422 | 421 |
|
423 | 422 |
$this->drupalLogin($this->admin_user); |
Also available in: Unified diff
Weekly update of contrib modules