public function ActivityUnitTest::setUp in Activity 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/
activity_unit.test, line 152
Class
Code
public function setUp() {
parent::setUp('activity');
require_once './' . drupal_get_path('module', 'activity') . '/activity_action_handlers.inc';
}