public function BasicBlogTest::testPersonalBlogTitle in Blog 8.2
Same name and namespace in other branches
- 3.x tests/src/Functional/BasicBlogTest.php \Drupal\Tests\blog\Functional\BasicBlogTest::testPersonalBlogTitle()
Test personal blog title.
File
- tests/
src/ Functional/ BasicBlogTest.php, line 45
Class
- BasicBlogTest
- Test blog functionality.
Namespace
Drupal\Tests\blog\FunctionalCode
public function testPersonalBlogTitle() {
$this
->drupalLogin($this->regularUser);
$this
->drupalGet('blog/' . $this->blogger1
->id());
$this
->assertResponse(200);
$this
->assertTitle($this->blogger1
->getDisplayName() . "'s blog | Drupal");
}