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

Correction TagsTest.php

parent 719dce10
No related merge requests found
......@@ -38,13 +38,13 @@ class TagsTest extends ViewHelperTestCase {
Class_Notice::newInstanceWithId(34, $notice_enreg);
Class_CodifAuteur::newInstanceWithId(777,
['libelle'=> 'Terry Pratchett']);
Zend_Registry::set('sql',
Storm_Test_ObjectWrapper::mock()
->whenCalled('fetchAll')
->answers(array($notice_enreg))
->whenCalled('fetchOne')
->answers('Terry Pratchett'));
->answers(array($notice_enreg)));
$helper = new ZendAfi_View_Helper_Accueil_Tags(3, array('type_module' => 'TAGS',
'division' => 2,
......
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