You are here

function SecureSiteConfig403Test::tearDown in Secure Site 8

Implements tearDown().

Overrides WebTestBase::tearDown

File

src/Tests/ForcedAuth/SecureSiteConfig403Test.php, line 82
Contains Drupal\securesite\Tests\ForcedAuth\SecureSiteConfig403Test

Class

SecureSiteConfig403Test
Functional tests for configuring access denied page.

Namespace

Drupal\securesite\Tests\ForcedAuth

Code

function tearDown() {
  $config = \Drupal::config('securesite.settings');
  $config
    ->clear('securesite_enabled');
  $config
    ->clear('securesite_403');
  $config
    ->save();
  \Drupal::config('system.site')
    ->clear('page.403')
    ->save();
  parent::tearDown();
}