You are here

protected function MenuSchemeUITest::setUp in Workbench Access 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/MenuSchemeUITest.php, line 51

Class

MenuSchemeUITest
Defines a class for testing the UI to create and configure schemes.

Namespace

Drupal\Tests\workbench_access\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->createContentType([
    'type' => 'page',
  ]);
  $this
    ->createContentType([
    'type' => 'article',
  ]);
  $this->admin = $this
    ->setUpAdminUser([
    'administer workbench access',
  ]);
  $this
    ->placeBlock('local_actions_block');
}