You are here

protected function AggregatorTitleTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php \Drupal\Tests\aggregator\Kernel\AggregatorTitleTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php, line 39

Class

AggregatorTitleTest
Tests the aggregator_title formatter.

Namespace

Drupal\Tests\aggregator\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig([
    'field',
  ]);
  $this
    ->installEntitySchema('aggregator_feed');
  $this
    ->installEntitySchema('aggregator_item');
  $this->fieldName = 'title';
}