You are here

public function RevisionSchedulerUnitTestCase::setUp in Revision scheduler 7

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

tests/RevisionSchedulerUnitTestCase.test, line 13

Class

RevisionSchedulerUnitTestCase

Code

public function setUp() {
  parent::setUp();
  drupal_load('module', 'revision_scheduler');
}