You are here

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

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

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

File

tests/session_limit.test, line 562
Simpletest tests for session_limit.

Class

SessionLimitPreventTestCase
Session limit functionality when behaviour is to prevent login at limit.

Code

public function setUp() {

  // Enable any modules required for the test.
  parent::setUp('session_limit');
}