You are here

protected function UserChangedTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/user/tests/src/Functional/Views/UserChangedTest.php \Drupal\Tests\user\Functional\Views\UserChangedTest::setUp()
  2. 10 core/modules/user/tests/src/Functional/Views/UserChangedTest.php \Drupal\Tests\user\Functional\Views\UserChangedTest::setUp()

Overrides ViewTestBase::setUp

File

core/modules/user/tests/src/Functional/Views/UserChangedTest.php, line 34

Class

UserChangedTest
Tests the changed field.

Namespace

Drupal\Tests\user\Functional\Views

Code

protected function setUp($import_test_views = TRUE) : void {
  parent::setUp($import_test_views);
  ViewTestData::createTestViews(static::class, [
    'user_test_views',
  ]);
  $this
    ->enableViewsTestModule();
}