public function SecureSiteForce403FunctionalTest::testSecureSiteForce403Restricted in Secure Site 7.2
Same name and namespace in other branches
- 6.2 securesite.test \SecureSiteForce403FunctionalTest::testSecureSiteForce403Restricted()
Request admin page.
File
- ./
securesite.test, line 1134 - Tests for Secure Site module.
Class
- SecureSiteForce403FunctionalTest
- Functional tests for page requests with authentication forced on restricted pages.
Code
public function testSecureSiteForce403Restricted() {
$this
->drupalHead('admin');
$this
->assertResponse(401, t('Requesting admin page.'));
}