protected function AjaxBlockTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/tests/src/FunctionalJavascript/AjaxBlockTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\AjaxBlockTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ AjaxBlockTest.php, line 34
Class
- AjaxBlockTest
- Ajax blocks tests.
Namespace
Drupal\Tests\layout_builder\FunctionalJavascriptCode
protected function setUp() {
parent::setUp();
$user = $this
->drupalCreateUser([
'configure any layout',
'administer node display',
'administer node fields',
]);
$user
->save();
$this
->drupalLogin($user);
$this
->createContentType([
'type' => 'bundle_with_section_field',
]);
}