public function SessionLimitSessionTestCase::setUp in Session Limit 6.2
Same name and namespace in other branches
- 8 tests/session_limit.test \SessionLimitSessionTestCase::setUp()
- 7.2 tests/session_limit.test \SessionLimitSessionTestCase::setUp()
- 2.x tests/session_limit.test \SessionLimitSessionTestCase::setUp()
setUp() performs any pre-requisite tasks that need to happen.
Overrides DrupalWebTestCase::setUp
File
- tests/
session_limit.test, line 315 - Simpletest tests for session_limit.
Class
- SessionLimitSessionTestCase
- Tests the multiple session test functionality.
Code
public function setUp() {
// Enable any modules required for the test.
parent::setUp('session_limit');
// D6 simpletest has these variables commented out.
$this->public_files_directory = variable_get('file_directory_path', '');
$this->cookieFile = $this->public_files_directory . '/cookie1.jar';
}