You are here

protected function DashboardsIntegrationTest::setUp in Layout Builder Restrictions 8.2

Overrides LayoutBuilderRestrictionsTestBase::setUp

File

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

Class

DashboardsIntegrationTest
Demonstrate that Layout Builder Restrictions works with Dashboards.

Namespace

Drupal\Tests\layout_builder_restrictions\FunctionalJavascript

Code

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