You are here

protected function IndividualCRUDTest::setUp in CRM Core 8.2

Same name and namespace in other branches
  1. 8.3 modules/crm_core_contact/tests/src/Kernel/IndividualCRUDTest.php \Drupal\Tests\crm_core_contact\Kernel\IndividualCRUDTest::setUp()
  2. 8 modules/crm_core_contact/tests/src/Kernel/IndividualCRUDTest.php \Drupal\Tests\crm_core_contact\Kernel\IndividualCRUDTest::setUp()

Overrides KernelTestBase::setUp

File

modules/crm_core_contact/tests/src/Kernel/IndividualCRUDTest.php, line 46

Class

IndividualCRUDTest
Tests CRUD operations for the CRM Core Individual entity.

Namespace

Drupal\Tests\crm_core_contact\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig(array(
    'field',
  ));
  $this
    ->installEntitySchema('crm_core_individual');
  $this
    ->installEntitySchema('crm_core_organization');
  $this
    ->installEntitySchema('crm_core_activity');
  $this
    ->installEntitySchema('relation');
  $this->pluginManager = $this->container
    ->get('plugin.manager.action');
}