You are here

protected function UserViewsDataTest::setUp in Drupal 9

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');
}