function AggregatorItemViewsFieldAccessTest::setUp

Same name in other branches
  1. 8.9.x core/modules/aggregator/tests/src/Kernel/Views/AggregatorItemViewsFieldAccessTest.php \Drupal\Tests\aggregator\Kernel\Views\AggregatorItemViewsFieldAccessTest::setUp()

Overrides FieldFieldAccessTestBase::setUp

File

core/modules/aggregator/tests/src/Kernel/Views/AggregatorItemViewsFieldAccessTest.php, line 25

Class

AggregatorItemViewsFieldAccessTest
Tests base field access in Views for the aggregator_item entity.

Namespace

Drupal\Tests\aggregator\Kernel\Views

Code

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

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