function VarsBaseTestCase::setUp in Variable API 7
Same name and namespace in other branches
- 6.2 tests/vars.test \VarsBaseTestCase::setUp()
- 6 tests/vars.test \VarsBaseTestCase::setUp()
- 7.2 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');
}