You are here

protected function ReplicationSettingsPageTest::setUp in Workspace 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ReplicationSettingsPageTest.php, line 52

Class

ReplicationSettingsPageTest
Verifies Replication settings page.

Namespace

Drupal\Tests\workspace\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->createNodeType('Test', 'test');
  $permissions = [
    'access administration pages',
    'create_workspace',
    'edit_own_workspace',
    'view_own_workspace',
    'view_any_workspace',
    'create test content',
  ];
  $this->user = $this
    ->drupalCreateUser($permissions);
  $this->entityTypeManager = \Drupal::entityTypeManager();
}