You are here

function SecureSiteForceOfflineTest::setUp in Secure Site 8

Implements setUp().

Overrides WebTestBase::setUp

File

src/Tests/ForcedAuth/SecureSiteForceOfflineTest.php, line 36
Contains Drupal\securesite\Tests\ForcedAuth\SecureSiteForceOfflineTest

Class

SecureSiteForceOfflineTest
Functional tests for page requests with authentication forced when site is off line.

Namespace

Drupal\securesite\Tests\ForcedAuth

Code

function setUp() {
  parent::setUp();
  \Drupal::config('securesite.settings')
    ->set('securesite_enabled', SECURESITE_OFFLINE)
    ->save();
}