public function MyBlogLinkTest::testPersonalBlogLinkWithManageDisplayPage in Blog 8.2
Same name and namespace in other branches
- 3.x tests/src/Functional/MyBlogLinkTest.php \Drupal\Tests\blog\Functional\MyBlogLinkTest::testPersonalBlogLinkWithManageDisplayPage()
Test "Personal blog link" entry on user "Manage display" page.
File
- tests/
src/ Functional/ MyBlogLinkTest.php, line 61
Class
- MyBlogLinkTest
- Link "My blog" and "View recent blog entries" test for blog module.
Namespace
Drupal\Tests\blog\FunctionalCode
public function testPersonalBlogLinkWithManageDisplayPage() {
$this
->drupalLogin($this->regularUser);
$this
->drupalGet('admin/config/people/accounts/display');
$this
->assertText('Personal blog link');
}