1 layout.test public LayoutDeletionTest::setUp()

Set up environment.

Overrides BackdropWebTestCase::setUp

File

core/modules/layout/tests/layout.test, line 3730
Tests for the Layout module.

Class

LayoutDeletionTest
Tests that ensures deletion messages are appropriate if layout page has any special role.

Code

public function setUp() {
  parent::setUp(array('layout_test'));

  // Create and login admin user.
  $this->admin_user = $this->backdropCreateUser(array(
    'access content',
    'administer layouts',
    'access user profiles',
  ));
  $this->backdropLogin($this->admin_user);
}