function TimeFieldUnitTest::setUp in Timefield 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
- ./
timefield.test, line 198 - Tests for timefield.
Class
- TimeFieldUnitTest
- Timefield Unit tests
Code
function setUp() {
drupal_load('module', 'timefield');
parent::setUp();
}