You are here

public function SessionLimitLogoutTestCase::setUp in Session Limit 2.x

Same name in this branch
  1. 2.x tests/session_limit.test \SessionLimitLogoutTestCase::setUp()
  2. 2.x tests/SessionLimitLogoutTestCase.php \Drupal\session_limit\SessionLimitLogoutTestCase::setUp()
Same name and namespace in other branches
  1. 8 tests/session_limit.test \SessionLimitLogoutTestCase::setUp()
  2. 6.2 tests/session_limit.test \SessionLimitLogoutTestCase::setUp()
  3. 7.2 tests/session_limit.test \SessionLimitLogoutTestCase::setUp()

setUp() performs any pre-requisite tasks that need to happen.

File

tests/session_limit.test, line 398
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');
}