function RssFieldsTest::setUp
Same name and namespace in other branches
- 9 core/modules/views/tests/src/Kernel/Plugin/RssFieldsTest.php \Drupal\Tests\views\Kernel\Plugin\RssFieldsTest::setUp()
- 10 core/modules/views/tests/src/Kernel/Plugin/RssFieldsTest.php \Drupal\Tests\views\Kernel\Plugin\RssFieldsTest::setUp()
- 11.x core/modules/views/tests/src/Kernel/Plugin/RssFieldsTest.php \Drupal\Tests\views\Kernel\Plugin\RssFieldsTest::setUp()
Overrides ViewsKernelTestBase::setUp
File
-
core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RssFieldsTest.php, line 34
Class
- RssFieldsTest
- Tests <a href="/api/drupal/core%21modules%21views%21src%21Plugin%21views%21row%21RssFields.php/class/RssFields/8.9.x" title="Renders an RSS item based on fields." class="local">\Drupal\views\Plugin\views\row\RssFields</a>.
Namespace
Drupal\Tests\views\Kernel\PluginCode
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
$this->installConfig([
'node',
'filter',
]);
$this->installEntitySchema('user');
$this->installEntitySchema('node');
$this->installEntitySchema('path_alias');
$this->createContentType([
'type' => 'article',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.