protected function ApidocEntityTest::setUp in Apigee API Catalog 8
Same name and namespace in other branches
- 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\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installEntitySchema('apidoc');
$this->entityTypeManager = $this->container
->get('entity_type.manager');
}