function AggregatorTitleTest::setUp

Same name and namespace in other branches
  1. 9 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() {
    parent::setUp();
    $this->installConfig([
        'field',
    ]);
    $this->installEntitySchema('aggregator_feed');
    $this->installEntitySchema('aggregator_item');
    \Drupal::service('router.builder')->rebuild();
    $this->fieldName = 'title';
}

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