Skip to content
Snippets Groups Projects

Hotline 6.55

Merged Ghislain Loas requested to merge hotline_6.55 into hotline_#17249_auto_open_vertical_menu
Viewing commit e2f5a4d2
Show latest version
1 file
+ 4
4
Preferences
Compare changes
@@ -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);
}