You are here

public function SecureSiteForceAlwaysFunctionalTest::testSecureSiteForceAlwaysNobody in Secure Site 7.2

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

Request home page.

File

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

Class

SecureSiteForceAlwaysFunctionalTest
Functional tests for page requests with authentication always forced.

Code

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