Skip to content
Snippets Groups Projects
Commit e7b1fb5d authored by llaffont's avatar llaffont
Browse files

Correction lien panier de notices dans menu horizontal

parent 1cb60f06
No related merge requests found
......@@ -26,5 +26,7 @@ class Class_Systeme_ModulesMenu_Paniers extends Class_Systeme_ModulesMenu_Null{
protected $_isPhone = false;
/** @var string */
protected $_url = '/panier';
}
?>
\ No newline at end of file
......@@ -63,6 +63,10 @@ abstract class ProfilOptionsControllerWithProfilAdulteTestCase extends AbstractC
'libelle' => 'Formulaire contact',
'picto' => 'vide.gif' ],
['type_menu' => 'PANIER',
'libelle' => 'Paniers de notices',
'picto' => 'vide.gif' ],
['type_menu' => Class_Systeme_ModulesMenu::MODULE_ACCUEIL_PREFIX.'CALENDAR',
'libelle' => 'Calendrier',
'picto' => 'vide.gif',
......@@ -246,6 +250,13 @@ class ProfilOptionsControllerViewProfilAdulteTest extends ProfilOptionsControlle
}
/** @test */
public function menuHorizontalShouldIncludeLinkToPanierNotices() {
$this->assertXPathContentContains("//div[@id='menu_horizontal']//li[@class='menu']//a[contains(@href, '/panier')]",
'Paniers de notices');
}
/** @test */
public function menuHorizontalShouldDisplayBoiteCalendrier() {
$this->assertXPath('//div[@id="menu_horizontal"]//li[@class="menu boite"]//div[@class="boite calendar"]//td[@class="calendar_title_month"]/a');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment