You are here

protected function MiniLayoutsIntegrationTest::setUp in Layout Builder Restrictions 8.2

Overrides LayoutBuilderRestrictionsTestBase::setUp

File

tests/src/FunctionalJavascript/MiniLayoutsIntegrationTest.php, line 28

Class

MiniLayoutsIntegrationTest
Demonstrate that Layout Builder Restrictions works with Mini Layouts.

Namespace

Drupal\Tests\layout_builder_restrictions\FunctionalJavascript

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'access administration pages',
    'configure any layout',
    'administer mini layouts',
  ]));
}