diff --git a/library/ZendAfi/Form/Configuration/Widget/ListOfSites.php b/library/ZendAfi/Form/Configuration/Widget/ListOfSites.php index ea0279832aed3cf98fa67d8e2d03552e4a61b088..a0ba7af2aac60b27660a91f230c610535261abb9 100644 --- a/library/ZendAfi/Form/Configuration/Widget/ListOfSites.php +++ b/library/ZendAfi/Form/Configuration/Widget/ListOfSites.php @@ -74,4 +74,9 @@ class ZendAfi_Form_Configuration_Widget_ListOfSites extends ZendAfi_Form_Configu 'nb_aff']); return parent::populate($datas); } + + + public function isRSSEnabled() { + return true; + } } diff --git a/library/ZendAfi/Form/Configuration/Widget/Reviews.php b/library/ZendAfi/Form/Configuration/Widget/Reviews.php index a1b490015070f62a190c9b2d57e1be290b86cb2f..c96ed42e25ad04d9c2ecccc5deaaebf85e53be64 100644 --- a/library/ZendAfi/Form/Configuration/Widget/Reviews.php +++ b/library/ZendAfi/Form/Configuration/Widget/Reviews.php @@ -82,4 +82,10 @@ class ZendAfi_Form_Configuration_Widget_Reviews extends ZendAfi_Form_Configurati return parent::populate($datas); } + + + public function isRSSEnabled() { + return true; + } + } \ No newline at end of file diff --git a/tests/application/modules/opac/controllers/CmsControllerTest.php b/tests/application/modules/opac/controllers/CmsControllerTest.php index ea2a6ddd02edbf6ecb3059611740382864178f4b..9131d2e1df0aa43f501147e99f50048386cbb9c4 100644 --- a/tests/application/modules/opac/controllers/CmsControllerTest.php +++ b/tests/application/modules/opac/controllers/CmsControllerTest.php @@ -819,8 +819,8 @@ class CmsControllerArticleViewByDateWithRadioFullArticleSelectedTest extends Abs /** @test */ public function feteDeLaBananeShouldContainsLinkToIcal() { - $this->assertXpathContentContains('//a[@class="ical"][contains(@href, "/cms/ical/id_article/1")]', - 'Ajouter au calendrier'); + $this->assertXpath('//div[@class="ical"]/a[contains(@href, "/cms/ical/id_article/1")]', + $this->_response->getBody()); } }