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

Correction lien titre du kiosque pour ne pas reprendre le contexte

parent 16f5e33b
Branches
Tags
No related merge requests found
......@@ -154,7 +154,7 @@ class ZendAfi_View_Helper_Accueil_Kiosque extends ZendAfi_View_Helper_Accueil_Ba
$this->preferences['tri'] = isset($this->preferences['tri']) ? $tris[$this->preferences['tri']] : $tris[0];
return sprintf('<a href="%s">%s</a>',
$this->view->url(array_merge(['controller' => 'recherche', 'action' => 'simple'],
$this->preferences)),
$this->preferences), null, true),
$this->preferences['titre']);
}
......
......@@ -621,7 +621,7 @@ class ProfilOptionsControllerPageJeuxViewModuleCritiquesTest extends ProfilOptio
class ProfilOptionsControllerProfilJeunesseViewPageJeuxTest extends ProfilOptionsControllerProfilJeunesseWithPagesJeuxMusiqueTestCase {
public function setUp() {
parent::setUp();
$this->dispatch('/opac?id_profil=12', true);
$this->dispatch('/opac/index/index/clef/zork?id_profil=12', true);
}
......@@ -669,8 +669,7 @@ class ProfilOptionsControllerProfilJeunesseViewPageJeuxTest extends ProfilOption
/** @test */
public function boiteKiosqueTitleShouldLinkToMenuCatalogue() {
$this->assertXPath("//div[@class='boite kiosque']//div//a[contains(@href, 'recherche/simple/titre/Kiosque/style_liste/cube/nb_notices/20/only_img/1/aleatoire/1/tri/date_creation+desc/nb_analyse/50/op_hauteur_img/90/op_transition//op_largeur_img/0/rss_avis/1/id_catalogue/0/id_panier/0/boite/boite_de_la_division_gauche')]",
$this->_response->getBody());
$this->assertXPath("//div[@class='boite kiosque']//div//a[contains(@href, 'recherche/simple/titre/Kiosque/style_liste/cube/nb_notices/20/only_img/1/aleatoire/1/tri/date_creation+desc/nb_analyse/50/op_hauteur_img/90/op_transition//op_largeur_img/0/rss_avis/1/id_catalogue/0/id_panier/0/boite/boite_de_la_division_gauche')]");
}
}
......
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