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

Correction tests mur notice

parent 7f96b34e
Branches
Tags
No related merge requests found
......@@ -45,7 +45,8 @@ class ZendAfi_View_Helper_Notice_MurForNoticeTest extends ZendAfi_View_Helper_No
'url_vignette' => 'hp.png',
'url_image' => 'hp_big.png',
'facettes' => 'D123 A400 Y2',
'clef_oeuvre' => 'HPELPA']);
'clef_oeuvre' => 'HPELPA',
'exemplaires' => []]);
$this->_html = $this->_helper->notice_Mur($potter, 'TAECRN');
}
......@@ -92,7 +93,8 @@ class ZendAfi_View_Helper_Notice_MurForArticleTest extends ZendAfi_View_Helper_N
$concert = Class_Notice::newInstanceWithId(2, ['url_vignette' => '',
'url_image' => '',
'type_doc' => Class_TypeDoc::ARTICLE,
'clef_oeuvre' => 'toto']);
'clef_oeuvre' => 'toto',
'exemplaires' => []]);
$concert->set_subfield('200', 'a', 'Concert')
->set_subfield('856', 'b', '5');
......@@ -137,10 +139,11 @@ class ZendAfi_View_Helper_Notice_Mur_BarreDeLienTest extends ZendAfi_View_Helper
->setModerationOk();
$this->_notice = Class_Notice::newInstanceWithId(34,['titre_principal'=>'Potter',
'clef_oeuvre'=>'potter',
'avis' => [$avis_de_paul, $avis_de_francois],
'url_vignette' => '',
'url_image' => '']);
'clef_oeuvre'=>'potter',
'avis' => [$avis_de_paul, $avis_de_francois],
'url_vignette' => '',
'url_image' => '',
'exemplaires' => []]);
Storm_Test_ObjectWrapper::onLoaderOfModel('Class_AvisNotice')
->whenCalled('countBy')
......
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