You are here

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

Test url: User login

File

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

Class

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

Namespace

Drupal\Tests\menu_trail_by_path\Functional

Code

public function testUrlUserLogin() {
  $this
    ->drupalGet(clone $this->menuUrls['User login']);
  $this
    ->assertMenuActiveTrail([
    $this
      ->menuUrlBasePath('User login') => 'User login',
  ], TRUE);
}