public function RestrictByIpUnitTestCase::setUp in Restrict Login or Role Access by IP Address 7.3
Sets up unit test environment.
Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.
Overrides DrupalUnitTestCase::setUp
File
- ./
restrict_by_ip.test, line 485
Class
Code
public function setUp() {
drupal_load('module', 'restrict_by_ip');
parent::setUp();
}