public function MenuTrailByPathTestCase::testUrlNewsCategorya in Menu Trail By Path 7.2
Same name and namespace in other branches
- 7.3 menu_trail_by_path.test \MenuTrailByPathTestCase::testUrlNewsCategorya()
Test url: News » Category A
File
- ./
menu_trail_by_path.test, line 161 - Tests for menu_trail_by_path module.
Class
- MenuTrailByPathTestCase
- @file Tests for menu_trail_by_path module.
Code
public function testUrlNewsCategorya() {
$this
->drupalGet($this->menuUrls['News » Category A']);
$this
->assertMenuActiveTrail(array(
$this
->menuUrlBasePath('News') => 'News',
$this
->menuUrlBasePath('News » Category A') => 'Category A',
), TRUE);
}