protected function TaxonomyEntityIndexEntityTest::setUp in Taxonomy Entity Index 8
Overrides TaxonomyEntityIndexKernelTestBase::setUp
File
- tests/
src/ Kernel/ TaxonomyEntityIndexEntityTest.php, line 42
Class
- TaxonomyEntityIndexEntityTest
- Defines a class for testing basic functionality of taxonomy_entity_index.
Namespace
Drupal\Tests\taxonomy_entity_index\KernelCode
protected function setUp() {
parent::setUp();
$this
->installConfig([
'node',
'filter',
]);
$this
->installEntitySchema('node');
$this
->createContentType([
'type' => 'page',
]);
$this
->setupTermField('node', 'page', 'termz');
$this->database = \Drupal::service('database');
}