protected function UITestBase::setUp in Drupal 8
Same name in this branch
- 8 core/modules/views_ui/src/Tests/UITestBase.php \Drupal\views_ui\Tests\UITestBase::setUp()
- 8 core/modules/views_ui/tests/src/Functional/UITestBase.php \Drupal\Tests\views_ui\Functional\UITestBase::setUp()
Same name and namespace in other branches
- 9 core/modules/views_ui/tests/src/Functional/UITestBase.php \Drupal\Tests\views_ui\Functional\UITestBase::setUp()
- 10 core/modules/views_ui/tests/src/Functional/UITestBase.php \Drupal\Tests\views_ui\Functional\UITestBase::setUp()
Overrides ViewTestBase::setUp
15 calls to UITestBase::setUp()
- AccessRoleUITest::setUp in core/
modules/ user/ tests/ src/ Functional/ AccessRoleUITest.php - ConfigTranslationViewListUiTest::setUp in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationViewListUiTest.php - DefaultViewsTest::setUp in core/
modules/ views_ui/ tests/ src/ Functional/ DefaultViewsTest.php - DisplayPathTest::setUp in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayPathTest.php - DuplicateTest::setUp in core/
modules/ views_ui/ tests/ src/ Functional/ DuplicateTest.php
15 methods override UITestBase::setUp()
- AccessRoleUITest::setUp in core/
modules/ user/ tests/ src/ Functional/ AccessRoleUITest.php - ConfigTranslationViewListUiTest::setUp in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationViewListUiTest.php - DefaultViewsTest::setUp in core/
modules/ views_ui/ tests/ src/ Functional/ DefaultViewsTest.php - DisplayPathTest::setUp in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayPathTest.php - DuplicateTest::setUp in core/
modules/ views_ui/ tests/ src/ Functional/ DuplicateTest.php
File
- core/
modules/ views_ui/ tests/ src/ Functional/ UITestBase.php, line 36
Class
- UITestBase
- Provides a base class for testing the Views UI.
Namespace
Drupal\Tests\views_ui\FunctionalCode
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
$this
->enableViewsTestModule();
$this->adminUser = $this
->drupalCreateUser([
'administer views',
]);
$this->fullAdminUser = $this
->drupalCreateUser([
'administer views',
'administer blocks',
'bypass node access',
'access user profiles',
'view all revisions',
'administer permissions',
]);
$this
->drupalLogin($this->fullAdminUser);
}