You are here

public function EmptyBlogTest::testAllBlogEmptyLists in Blog 8.2

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

Test empty blog lists (all blog).

File

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

Class

EmptyBlogTest
Test for empty blogs.

Namespace

Drupal\Tests\blog\Functional

Code

public function testAllBlogEmptyLists() {
  $this
    ->drupalLogin($this->bloggerNoEntries);
  $this
    ->drupalGet('blog');
  $this
    ->assertText('No blog entries have been created.');
}