You are here

function SecureSiteTypeBasicGuestUnsetFunctionalTest::testSecureSiteTypeBasicGuestUnsetEmptyAccess in Secure Site 6.2

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

Request home page with empty credentials and access enabled.

File

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

Class

SecureSiteTypeBasicGuestUnsetFunctionalTest
Functional tests for basic authentication with guest credentials unset.

Code

function testSecureSiteTypeBasicGuestUnsetEmptyAccess() {
  $this
    ->drupalHead(NULL);
  $this
    ->assertResponse(200, t('Requesting home page with empty credentials and guest access enabled.'));
}