function AggregatorTitleTest::setUp

Same name and namespace in other branches
  1. 8.9.x 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 40

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';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.