You are here

protected function RssFieldsTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Kernel/Plugin/RssFieldsTest.php \Drupal\Tests\views\Kernel\Plugin\RssFieldsTest::setUp()
  2. 9 core/modules/views/tests/src/Kernel/Plugin/RssFieldsTest.php \Drupal\Tests\views\Kernel\Plugin\RssFieldsTest::setUp()

File

core/modules/views/tests/src/Kernel/Plugin/RssFieldsTest.php, line 34

Class

RssFieldsTest
Tests \Drupal\views\Plugin\views\row\RssFields.

Namespace

Drupal\Tests\views\Kernel\Plugin

Code

protected function setUp($import_test_views = TRUE) : void {
  parent::setUp($import_test_views);
  $this
    ->installConfig([
    'node',
    'filter',
  ]);
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('path_alias');
  $this
    ->createContentType([
    'type' => 'article',
  ]);
}