protected function ConfigTranslationViewListUiTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php \Drupal\Tests\config_translation\Functional\ConfigTranslationViewListUiTest::setUp()
Overrides UITestBase::setUp
File
- core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationViewListUiTest.php, line 33
Class
- ConfigTranslationViewListUiTest
- Visit view list and test if translate is available.
Namespace
Drupal\Tests\config_translation\FunctionalCode
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
$permissions = [
'administer views',
'translate configuration',
];
// Create and log in user.
$this
->drupalLogin($this
->drupalCreateUser($permissions));
}