function SecureSiteForceAlwaysTest::testSecureSiteForceAlwaysNobody in Secure Site 8
Request home page.
File
- src/
Tests/ ForcedAuth/ SecureSiteForceAlwaysTest.php, line 48 - Contains Drupal\securesite\Tests\ForcedAuth\SecureSiteForceAlwaysTest
Class
- SecureSiteForceAlwaysTest
- Functional tests for page requests with authentication always forced.
Namespace
Drupal\securesite\Tests\ForcedAuthCode
function testSecureSiteForceAlwaysNobody() {
debug(\Drupal::config('securesite.settings')
->get('securesite_enabled'));
$this
->drupalHead(NULL);
$this
->assertResponse(401, t('Requesting home page.'));
}