public function BirthdaysUtilityTestCase::setUp in Birthdays 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
- ./
birthdays.test, line 117 - Unit tests for the Birthdays module.
Class
- BirthdaysUtilityTestCase
- Tests utility functions.
Code
public function setUp() {
parent::setUp();
module_load_include('install', 'birthdays', 'birthdays');
}