You are here

protected function EmptyBlogTest::setUp in Blog 3.x

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

Overrides BrowserTestBase::setUp

File

tests/src/Functional/EmptyBlogTest.php, line 34

Class

EmptyBlogTest
Test for empty blogs.

Namespace

Drupal\Tests\blog\Functional

Code

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

  // Create blogger user with no blog posts.
  $this->bloggerNoEntries = $this
    ->drupalCreateUser([
    'create blog_post content',
  ]);
}