You are here

public function MenuTrailByPathTestCase::testUrlNews in Menu Trail By Path 7.3

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

Test url: News

File

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

Class

MenuTrailByPathTestCase
@file Tests for menu_trail_by_path module.

Code

public function testUrlNews() {
  $this
    ->drupalGet($this->menuUrls['News']);
  $this
    ->assertMenuActiveTrail(array(
    $this
      ->menuUrlBasePath('News') => 'News',
  ), TRUE);
}