You are here

function SecureSiteForceAlwaysFunctionalTest::testSecureSiteForceAlwaysNobody in Secure Site 6.2

Same name and namespace in other branches
  1. 7.2 securesite.test \SecureSiteForceAlwaysFunctionalTest::testSecureSiteForceAlwaysNobody()

Request home page.

File

./securesite.test, line 933
Tests for Secure Site module.

Class

SecureSiteForceAlwaysFunctionalTest
Functional tests for page requests with authentication always forced.

Code

function testSecureSiteForceAlwaysNobody() {
  $this
    ->drupalHead(NULL);
  $this
    ->assertResponse(401, t('Requesting home page.'));
}