Skip to content
Snippets Groups Projects
Commit f2a08162 authored by gloas's avatar gloas
Browse files

Correction tests Paniercontroller

parent 84029a38
Branches
Tags
No related merge requests found
......@@ -1109,7 +1109,7 @@ class PanierControllerAjoutAjaxSuccessTest extends PanierControllerTestCase {
Class_Profil::getCurrentProfil()->setCfgAccueil($cfg_accueil);
$this->dispatch('/panier/ajout-ajax-success/id_notice/12/id_panier/39',true);
$this->_json = json_decode($this->_response->getbody());
$this->_xpath->assertXPathContentContains($this->_json->content,'//script',"$('.boite.panier').reload('http://localhost/afi-opac/modules-accueil/render-module/id/2');opacDialogClose();");
$this->_xpath->assertXPathContentContains($this->_json->content,'//script',"$('.boite.panier').reload('http://");
}
}
......
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