You are here

public function EmptyBlogTest::testAllBlogEmptyLists in Blog 3.x

Same name and namespace in other branches
  1. 8.2 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.');
}