function AccessRoleUITest::setUp

Same name in other branches
  1. 9 core/modules/user/tests/src/Functional/AccessRoleUITest.php \Drupal\Tests\user\Functional\AccessRoleUITest::setUp()
  2. 10 core/modules/user/tests/src/Functional/AccessRoleUITest.php \Drupal\Tests\user\Functional\AccessRoleUITest::setUp()
  3. 11.x core/modules/user/tests/src/Functional/AccessRoleUITest.php \Drupal\Tests\user\Functional\AccessRoleUITest::setUp()

Overrides UITestBase::setUp

File

core/modules/user/tests/src/Functional/AccessRoleUITest.php, line 38

Class

AccessRoleUITest
Tests views role access plugin UI.

Namespace

Drupal\Tests\user\Functional

Code

protected function setUp($import_test_views = TRUE) {
    parent::setUp($import_test_views);
    ViewTestData::createTestViews(get_class($this), [
        'user_test_views',
    ]);
}

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