You are here

function SecureSiteBasicGuestUnsetTest::testSecureSiteTypeBasicGuestUnsetEmptyAccess in Secure Site 8

Request home page with empty credentials and access enabled.

File

src/Tests/BasicAuth/SecureSiteBasicGuestUnsetTest.php, line 61
Contains Drupal\securesite\Tests\BasicAuth\SecureSiteBasicGuestUnsetTest

Class

SecureSiteBasicGuestUnsetTest
Functional tests for basic authentication with guest credentials unset.

Namespace

Drupal\securesite\Tests\BasicAuth

Code

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