protected function FieldWidgetConfigTest::setUp in Entity Browser 8
Same name and namespace in other branches
- 8.2 tests/src/FunctionalJavascript/FieldWidgetConfigTest.php \Drupal\Tests\entity_browser\FunctionalJavascript\FieldWidgetConfigTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ FieldWidgetConfigTest.php, line 52
Class
- FieldWidgetConfigTest
- Tests the config UI for adding and editing entity browsers.
Namespace
Drupal\Tests\entity_browser\FunctionalJavascriptCode
protected function setUp() {
parent::setUp();
$this
->drupalPlaceBlock('local_tasks_block');
$this
->drupalPlaceBlock('local_actions_block');
$this->adminUser = $this
->drupalCreateUser([
'administer entity browsers',
'access administration pages',
'administer node fields',
'administer node display',
'administer nodes',
'administer node form display',
'create article content',
]);
$this
->drupalLogin($this->adminUser);
}