You are here

public function TokenUserTest::testUserAccountSettings in Token 8

Test user account settings.

File

tests/src/Functional/TokenUserTest.php, line 125

Class

TokenUserTest
Tests user tokens.

Namespace

Drupal\Tests\token\Functional

Code

public function testUserAccountSettings() {
  $this
    ->drupalGet('admin/config/people/accounts');
  $this
    ->assertText('The list of available tokens that can be used in e-mails is provided below.');
  $this
    ->assertSession()
    ->linkExists('Browse available tokens.');
  $this
    ->assertSession()
    ->linkByHrefExists('token/tree');
}