protected function EmptyBlogTest::setUp in Blog 3.x
Same name and namespace in other branches
- 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\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create blogger user with no blog posts.
$this->bloggerNoEntries = $this
->drupalCreateUser([
'create blog_post content',
]);
}