You are here

protected function ClassyParagraphsTest::setUp in Classy paragraphs 8

Overrides BrowserTestBase::setUp

File

src/Tests/ClassyParagraphsTest.php, line 26

Class

ClassyParagraphsTest
Tests the classy_paragraphs_test module.

Namespace

Drupal\classy_paragraphs\Tests

Code

protected function setUp() {
  parent::setUp();
  $admin_user = $this
    ->drupalCreateUser([
    'access content',
    'access administration pages',
    'administer site configuration',
    'administer nodes',
    'administer paragraphs types',
    'administer content types',
  ]);
  $this
    ->drupalLogin($admin_user);
}