You are here

function SecureSiteForceOfflineTest::testSecureSiteForceOfflineNormal in Secure Site 8

Request on-line home page.

File

src/Tests/ForcedAuth/SecureSiteForceOfflineTest.php, line 44
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 testSecureSiteForceOfflineNormal() {
  $this
    ->drupalHead(NULL);
  $this
    ->assertResponse(200, t('Requesting on-line home page.'));
}