diff --git a/tests/library/ZendAfi/View/Helper/Accueil/CalendarTest.php b/tests/library/ZendAfi/View/Helper/Accueil/CalendarTest.php index 9156054cbf0e7dd519e4a1836a3d6903e1f12c2f..8dafb47de37e4dc64ab29093d38e9d98a750f22e 100644 --- a/tests/library/ZendAfi/View/Helper/Accueil/CalendarTest.php +++ b/tests/library/ZendAfi/View/Helper/Accueil/CalendarTest.php @@ -516,7 +516,7 @@ class CalendarWithCategoryLimitAndBibPreferencesTest extends CalendarViewHelperT /** @test */ function titleMonthFirstLinkShouldGoToFebruary() { $this->assertXPath($this->html, - '//td[@class="calendar_title_left_arrow"]//a[1][contains(@href, "cms/calendar/date/2011-02/id_module/2/id_profil/2/select_id_categorie/all")]', + '//td[@class="calendar_title_month"]//a[1][contains(@href, "cms/calendar/date/2011-02/id_module/2/id_profil/2/select_id_categorie/all")]', $this->html); } @@ -524,7 +524,7 @@ class CalendarWithCategoryLimitAndBibPreferencesTest extends CalendarViewHelperT /** @test */ function titleMonthSecondLinkShouldLinkToArticleViewByDate() { $this->assertXPath($this->html, - '//td[@class="calendar_title_month"]//a[1][contains(@href, "cms/articleviewbydate/d/2011-03/id_module/2/id_profil/2/select_id_categorie/all")]', + '//td[@class="calendar_title_month"]//a[2][contains(@href, "cms/articleviewbydate/d/2011-03/id_module/2/id_profil/2/select_id_categorie/all")]', $this->html); } @@ -532,7 +532,7 @@ class CalendarWithCategoryLimitAndBibPreferencesTest extends CalendarViewHelperT /** @test */ function titleMonthLastLinkShouldGoToApril() { $this->assertXPath($this->html, - '//td[@class="calendar_title_right_arrow"]//a[1][contains(@href, "cms/calendar/date/2011-04/id_module/2/id_profil/2/select_id_categorie/all")]', + '//td[@class="calendar_title_month"]//a[3][contains(@href, "cms/calendar/date/2011-04/id_module/2/id_profil/2/select_id_categorie/all")]', $this->html); } @@ -703,7 +703,7 @@ class CalendarWithCategorySelectorAndRssPreferencesTest extends CalendarViewHelp /** @test */ function titleMonthLastLinkShouldGoToJanuary2012Categorie12() { $this->assertXPath($this->html, - '//td[@class="calendar_title_right_arrow"]//a[contains(@href, "cms/calendar/date/2012-01/id_module/2/id_profil/2/select_id_categorie/12")]', + '//td[@class="calendar_title_month"]//a[contains(@href, "cms/calendar/date/2012-01/id_module/2/id_profil/2/select_id_categorie/12")]', $this->html); }