You are here

public function MenuTrailByPathTestCase::testUrlUser in Menu Trail By Path 7.2

Same name and namespace in other branches
  1. 7.3 menu_trail_by_path.test \MenuTrailByPathTestCase::testUrlUser()

Test url: User

File

./menu_trail_by_path.test, line 117
Tests for menu_trail_by_path module.

Class

MenuTrailByPathTestCase
@file Tests for menu_trail_by_path module.

Code

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