You are here

protected function LayoutSelectionTest::setUp in Layout builder library 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/LayoutSelectionTest.php, line 27

Class

LayoutSelectionTest
Tests the functionality of the layout_selection field.

Namespace

Drupal\Tests\layout_library\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalCreateContentType([
    'type' => 'alpha',
  ]);
  $this
    ->drupalCreateContentType([
    'type' => 'beta',
  ]);
  $this
    ->drupalPlaceBlock('local_tasks_block');
  $this
    ->drupalPlaceBlock('local_actions_block');
}