You are here

function VarsBaseTestCase::setUp in Variable API 6.2

Same name and namespace in other branches
  1. 6 tests/vars.test \VarsBaseTestCase::setUp()
  2. 7.2 tests/vars.test \VarsBaseTestCase::setUp()
  3. 7 tests/vars.test \VarsBaseTestCase::setUp()

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/vars.test, line 17
Test file for the Variable API module.

Class

VarsBaseTestCase
@file Test file for the Variable API module.

Code

function setUp() {
  parent::setUp('vars');
}