function UserChangedTest::setUp

Same name in other branches
  1. 9 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()
  3. 11.x 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) {
    parent::setUp($import_test_views);
    ViewTestData::createTestViews(get_class($this), [
        'user_test_views',
    ]);
    $this->enableViewsTestModule();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.