You are here

protected function OrganizationCRUDTest::setUp in CRM Core 8

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

Overrides KernelTestBase::setUp

File

modules/crm_core_contact/tests/src/Kernel/OrganizationCRUDTest.php, line 38

Class

OrganizationCRUDTest
Tests CRUD operations for the CRM Core Organization entity.

Namespace

Drupal\Tests\crm_core_contact\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig([
    'field',
  ]);
  $this
    ->installEntitySchema('crm_core_organization');
  $this
    ->installEntitySchema('crm_core_activity');
}