function SecureSiteTypeFormNoneFunctionalTest::setUp in Secure Site 6.2
Same name and namespace in other branches
- 7.2 securesite.test \SecureSiteTypeFormNoneFunctionalTest::setUp()
Implementation of setUp().
Overrides DrupalWebTestCase::setUp
File
- ./
securesite.test, line 1475 - Tests for Secure Site module.
Class
- SecureSiteTypeFormNoneFunctionalTest
- Functional test for form authentication without credentials.
Code
function setUp() {
parent::setUp('securesite');
variable_set('securesite_enabled', SECURESITE_ALWAYS);
// Should work with all authentication methods enabled.
variable_set('securesite_type', array(
SECURESITE_FORM,
SECURESITE_BASIC,
SECURESITE_DIGEST,
));
}