Skip to content
Snippets Groups Projects
Commit a28c131b authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #14141 RT : fix mock error

parent c92c198c
Branches
Tags 5.31.3
4 merge requests!2080Sandbox detach zf from storm,!2061Master,!1954Dev#14141 record availability on search result,!1949Dev#14141 record availability on search result
......@@ -30,7 +30,10 @@ class ZendAfi_View_Helper_SuggestsTest extends ViewHelperTestCase {
parent::setUp();
$this->_engine = $this->mock()
->whenCalled('getCriteresRecherche')
->answers(new Class_CriteresRecherche());
->answers(new Class_CriteresRecherche())
->whenCalled('getSettings')
->answers([]);
$this->_helper = new ZendAfi_View_Helper_Suggests();
$this->_helper->setView(new ZendAfi_Controller_Action_Helper_View());
......
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