diff --git a/library/Class/Systeme/ModulesMenu/Paniers.php b/library/Class/Systeme/ModulesMenu/Paniers.php index cd794f0a28fe57b7033b62b8eecaff4d8e409f24..4fb43a67272454a88bbeb0de3771925b2a96f204 100644 --- a/library/Class/Systeme/ModulesMenu/Paniers.php +++ b/library/Class/Systeme/ModulesMenu/Paniers.php @@ -30,6 +30,6 @@ class Class_Systeme_ModulesMenu_Paniers extends Class_Systeme_ModulesMenu_Null { public function __construct() { - $this->_libelle = $this->_('Liens vers les paniers'); + $this->_libelle = $this->_('Lien vers les paniers'); } } \ No newline at end of file diff --git a/tests/application/modules/admin/controllers/WidgetControllerTest.php b/tests/application/modules/admin/controllers/WidgetControllerTest.php index 3f65f826e3e061f9fccccaff862e460a70f795fc..0d39b4ba4453aa008e7b6b7804a2096ae13c27e8 100644 --- a/tests/application/modules/admin/controllers/WidgetControllerTest.php +++ b/tests/application/modules/admin/controllers/WidgetControllerTest.php @@ -927,7 +927,7 @@ class WidgetControllerTwoWidgetsPostDispatchChildTest extends WidgetControllerTw /** @test */ public function renderedModuleNewsTitleShouldBeArticles() { - $this->assertXPathContentContains('//div[@class="boite news"]//div', 'Articles'); + $this->assertXPathContentContains('//div[@class="boite news"]//div', 'Boite articles'); } diff --git a/tests/scenarios/Widgets/WidgetsTest.php b/tests/scenarios/Widgets/WidgetsTest.php index 6e87991745b052ac4e35334bf383ef7863dd3ea4..c6916d9c04824f18b4819a4520a141490e04fa78 100644 --- a/tests/scenarios/Widgets/WidgetsTest.php +++ b/tests/scenarios/Widgets/WidgetsTest.php @@ -39,7 +39,7 @@ abstract class WidgetsNavSimpleTestCase extends Admin_AbstractControllerTestCase 'picto' => 'vide.gif', 'preferences' => ['clef_profil' => '2']], ['type_menu' => 'MODULE_ACCUEIL_RECH_SIMPLE', - 'libelle' => 'rechercher' + 'libelle' => 'rechercher', 'picto' => 'search.gif'], ['type_menu' => 'MENU', 'libelle' => '', @@ -112,13 +112,6 @@ class WidgetsEditNavTest extends WidgetsNavSimpleTestCase { public function childrenShouldContainsMenu() { $this->assertXPath('//form//input[@name="children"][contains(@value,"0;1;2")]'); } - - - /** @test */ - public function linkToSearchShouldUseProfil2() { - $this->assertXPath('div//a[contains(@href,"recherche/simple/status/reset/id_profil/8")]', $this->_response->getBody()); - } - } @@ -216,7 +209,7 @@ class WidgetsEditNavEntryPostDispatchTest extends WidgetsNavSimpleTestCase { $this->assertEquals([4 => ['type_module' => 'PANIER', 'type_menu' => 'PANIER', 'id_module' => 4, - 'libelle' => 'Mes paniers de documents', + 'libelle' => 'Lien vers les paniers', 'picto' => '', 'action' => '', 'preferences' => []], @@ -228,7 +221,7 @@ class WidgetsEditNavEntryPostDispatchTest extends WidgetsNavSimpleTestCase { 6 => ['type_module' => 'RECH_SIMPLE', 'type_menu' => 'RECH_SIMPLE', 'id_module' => 6, - 'libelle' => 'Recherche simple', + 'libelle' => 'Lien vers la recherche', 'picto' => '', 'action' => '', 'preferences' => []]], Class_Profil::getCurrentProfil()->getCfgMenuHorizontal()[3]['sous_menus']);