You are here

public function MenuTrailByPathActiveTrailHtmlClassTest::testUrlUser in Menu Trail By Path 8

Test url: User

File

tests/src/Functional/MenuTrailByPathActiveTrailHtmlClassTest.php, line 165

Class

MenuTrailByPathActiveTrailHtmlClassTest
Tests that the menu links have the correct css-classes.

Namespace

Drupal\Tests\menu_trail_by_path\Functional

Code

public function testUrlUser() {
  $this
    ->drupalLogin($this->authenticatedUser);
  $this
    ->drupalGet(clone $this->menuUrls['User']);
  $this
    ->assertMenuActiveTrail([
    $this
      ->menuUrlBasePath('User') => 'User',
  ], FALSE);
}