Révision 582db59d
Ajouté par Assos Assos il y a plus de 8 ans
drupal7/modules/menu/menu.test | ||
---|---|---|
72 | 72 |
$saved_item = menu_link_load($item['mlid']); |
73 | 73 |
$this->assertEqual($description, $saved_item['options']['attributes']['title'], 'Saving an existing link updates the description (title attribute)'); |
74 | 74 |
$this->resetMenuLink($item, $old_title); |
75 |
|
|
76 |
// Test that the page title is correct when a local task appears in a |
|
77 |
// top-level menu item. See https://www.drupal.org/node/1973262. |
|
78 |
$item = $this->addMenuLink(0, 'user/register', 'user-menu'); |
|
79 |
$this->drupalGet('user/password'); |
|
80 |
$this->assertNoTitle('Home | Drupal'); |
|
81 |
$this->drupalLogout(); |
|
82 |
$this->drupalGet('user/register'); |
|
83 |
$this->assertTitle($item['link_title'] . ' | Drupal'); |
|
84 |
$this->drupalGet('user'); |
|
85 |
$this->assertNoTitle('Home | Drupal'); |
|
75 | 86 |
} |
76 | 87 |
|
77 | 88 |
/** |
Formats disponibles : Unified diff
Update Drupal core to version 7.40