You are here

protected function ApidocEntityTest::setUp in Apigee API Catalog 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/ApidocEntityTest.php \Drupal\Tests\apigee_api_catalog\Kernel\ApidocEntityTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/ApidocEntityTest.php, line 55

Class

ApidocEntityTest
Test basic CRUD operations for our ApiDoc entity type.

Namespace

Drupal\Tests\apigee_api_catalog\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('apidoc');
  $this->entityTypeManager = $this->container
    ->get('entity_type.manager');
}