Révision 6331c987
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/i18n/i18n_menu/i18n_menu.test | ||
---|---|---|
130 | 130 |
$this->drupalGet('admin/structure/menu/item/' . $node->menu['mlid'] . '/edit'); |
131 | 131 |
$this->assertText(t('This menu item belongs to a node, so it will have the same language as the node and cannot be localized.')); |
132 | 132 |
$this->assertNoField('language', 'We cannot edit language for menu items that belong to nodes.'); |
133 |
// Edit the node and submit it to see if the menu link stays enabled. |
|
134 |
$this->drupalPost('node/' . $node->nid . '/edit', array(), t('Save')); |
|
133 | 135 |
} |
134 | 136 |
// Check menu items show up for the right language. |
135 | 137 |
$this->drupalGet('<front>'); |
Formats disponibles : Unified diff
Weekly update of contrib modules