function ItemWithoutFeedTest::setUp

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

Overrides KernelTestBase::setUp

File

core/modules/aggregator/tests/src/Kernel/ItemWithoutFeedTest.php, line 24

Class

ItemWithoutFeedTest
Tests clean handling of an item with a missing feed ID.

Namespace

Drupal\Tests\aggregator\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $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.