Skip to content
Snippets Groups Projects
Commit 955c9257 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

rel #15527 : fix typo in dispatch params in tests

parent 819137d0
Branches
Tags
5 merge requests!529Hotline 6.56,!512Master,!500Hotline 6.55,!493Dev#15527 localisation bib add genre,!486Dev#15527 localisation bib add genre
......@@ -153,8 +153,6 @@ class NoticeAjaxController extends Zend_Controller_Action {
public function localisationAction() {
$id_bib=$this->_request->getParam("id_bib");
$cote=$this->_request->getParam("cote");
$code_barres=$this->_request->getParam("code_barres");
......
......@@ -1556,7 +1556,7 @@ class NoticeAjaxControllerLocalisationWithCoteTest extends NoticeAjaxController
->setCoteFin('999 Z')
->save();
$this->dispatch('noticeajax/localisation/id_bib/1/cote_barres/123456', true);
$this->dispatch('noticeajax/localisation/id_bib/1/code_barres/123456', true);
$this->_json = json_decode($this->_response->getBody());
}
......@@ -1591,7 +1591,7 @@ class NoticeAjaxControllerLocalisationWithStartedCoteTest extends NoticeAjaxCon
->setCoteFin('999 Z')
->save();
$this->dispatch('noticeajax/localisation/id_bib/1/cote_barres/123456', true);
$this->dispatch('noticeajax/localisation/id_bib/1/code_barres/123456', true);
$this->_json = json_decode($this->_response->getBody());
}
......@@ -1624,7 +1624,7 @@ class NoticeAjaxControllerLocalisationWithEndCoteTest extends NoticeAjaxControl
->setCoteFin('999 Z')
->save();
$this->dispatch('noticeajax/localisation/id_bib/1/cote_barres/123456', true);
$this->dispatch('noticeajax/localisation/id_bib/1/code_barres/123456', true);
$this->_json = json_decode($this->_response->getBody());
}
......
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