Projet

Général

Profil

Révision a8cee257

Ajouté par Assos Assos il y a plus de 4 ans

Weekly update of contrib modules

Voir les différences:

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);

Formats disponibles : Unified diff