You are here

function SecureSiteForce403FunctionalTest::setUp in Secure Site 6.2

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

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

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

Class

SecureSiteForce403FunctionalTest
Functional tests for page requests with authentication forced on restricted pages.

Code

function setUp() {
  parent::setUp('securesite');
  variable_set('securesite_enabled', SECURESITE_403);
  variable_set('securesite_403', variable_get('site_403', ''));
  variable_set('site_403', 'securesite_403');
}