You are here

protected function UserViewsDataTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/user/tests/src/Kernel/Views/UserViewsDataTest.php \Drupal\Tests\user\Kernel\Views\UserViewsDataTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/user/tests/src/Kernel/Views/UserViewsDataTest.php, line 42

Class

UserViewsDataTest
Contains tests related to the views data for the user entity type.

Namespace

Drupal\Tests\user\Kernel\Views

Code

protected function setUp() : void {
  parent::setUp();
  $this->viewsData = $this->container
    ->get('views.views_data');
  $this->entityFieldManager = $this->container
    ->get('entity_field.manager');
}