public function SessionLimitLogoutTestCase::setUp in Session Limit 6.2
Same name and namespace in other branches
- 8 tests/session_limit.test \SessionLimitLogoutTestCase::setUp()
- 7.2 tests/session_limit.test \SessionLimitLogoutTestCase::setUp()
- 2.x tests/session_limit.test \SessionLimitLogoutTestCase::setUp()
setUp() performs any pre-requisite tasks that need to happen.
Overrides DrupalWebTestCase::setUp
File
- tests/
session_limit.test, line 402 - Simpletest tests for session_limit.
Class
- SessionLimitLogoutTestCase
- Session limit functions when expected behaviour is to logout oldest session.
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';
}