function IntegrationTest::setUp
Same name in this branch
- 9 core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php \Drupal\Tests\statistics\Functional\Views\IntegrationTest::setUp()
Same name in other branches
- 8.9.x core/modules/aggregator/tests/src/Kernel/Views/IntegrationTest.php \Drupal\Tests\aggregator\Kernel\Views\IntegrationTest::setUp()
- 8.9.x core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php \Drupal\Tests\statistics\Functional\Views\IntegrationTest::setUp()
- 10 core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php \Drupal\Tests\statistics\Functional\Views\IntegrationTest::setUp()
- 11.x core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php \Drupal\Tests\statistics\Functional\Views\IntegrationTest::setUp()
Overrides ViewsKernelTestBase::setUp
File
-
core/
modules/ aggregator/ tests/ src/ Kernel/ Views/ IntegrationTest.php, line 59
Class
- IntegrationTest
- Tests basic integration of views data from the aggregator module.
Namespace
Drupal\Tests\aggregator\Kernel\ViewsCode
protected function setUp($import_test_views = TRUE) : void {
parent::setUp();
$this->installConfig([
'aggregator',
]);
$this->installEntitySchema('aggregator_item');
$this->installEntitySchema('aggregator_feed');
ViewTestData::createTestViews(static::class, [
'aggregator_test_views',
]);
$this->itemStorage = $this->container
->get('entity_type.manager')
->getStorage('aggregator_item');
$this->feedStorage = $this->container
->get('entity_type.manager')
->getStorage('aggregator_feed');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.