You are here

protected function ResponsivePreviewContentFormTest::setUp in Responsive Theme Preview 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ResponsivePreviewContentFormTest.php, line 33

Class

ResponsivePreviewContentFormTest
Tests the toolbar integration.

Namespace

Drupal\Tests\responsive_preview\Functional

Code

protected function setUp() : void {
  parent::setUp();
  NodeType::create([
    'type' => 'article',
    'name' => 'Article',
  ])
    ->save();
  $this->testUser = $this
    ->drupalCreateUser([
    'access content',
    'access responsive preview',
    'access toolbar',
    'create article content',
    'edit own article content',
  ]);
}