You are here

public function entity_bundle_plugin_merge::setUp in Entity bundle plugin 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/entity_bundle_plugin_merge.test, line 17

Class

entity_bundle_plugin_merge
@author marand

Code

public function setUp() {
  parent::setUp();
  require_once __DIR__ . '/../entity_bundle_plugin.module';
}