You are here

protected function BasicBlogTest::setUp in Blog 3.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/BasicBlogTest.php \Drupal\Tests\blog\Functional\BasicBlogTest::setUp()

Overrides BlogTestBase::setUp

File

tests/src/Functional/BasicBlogTest.php, line 36

Class

BasicBlogTest
Test blog functionality.

Namespace

Drupal\Tests\blog\Functional

Code

protected function setUp() : void {
  parent::setUp();

  // Create regular user.
  $this->regularUser = $this
    ->drupalCreateUser([
    'create article content',
  ]);
}