protected function EditModeTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php \Drupal\Tests\contextual\FunctionalJavascript\EditModeTest::setUp()
- 9 core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php \Drupal\Tests\contextual\FunctionalJavascript\EditModeTest::setUp()
File
- core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ EditModeTest.php, line 40
Class
- EditModeTest
- Tests edit mode.
Namespace
Drupal\Tests\contextual\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$this
->drupalLogin($this
->createUser([
'administer blocks',
'access contextual links',
'access toolbar',
]));
$this
->placeBlock('system_powered_by_block', [
'id' => 'powered',
]);
}