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

correction test serie

parent ae935dae
Branches
Tags
No related merge requests found
......@@ -736,12 +736,12 @@ class NoticeAjaxControllerPeriodiqueSerieTest extends AbstractControllerTestCase
Storm_Test_ObjectWrapper::onLoaderOfModel('Class_Notice')
->whenCalled('findAllBy')
->with(['clef_chapeau' => 'FAKIR',
'order' => 'tome_alpha'])
'order' => 'tome_alpha desc'])
->answers([$fakir56, $fakir57]);
$this->dispatch('/noticeajax/series?id_notice=234',true);
$this->assertXPathContentContains('//a[contains(@href,"/recherche/simple/serie/FAKIR/tri/date_creation+desc")]', utf8_encode('Voir tous les numéros de Fakir'),$this->_response->getBody());
$this->dispatch('/noticeajax/series/id_notice/234',true);
$this->assertXPathContentContains('//a[contains(@href,"/recherche/simple/id_notice/234/serie/FAKIR/tri/date_creation+desc")]', utf8_encode('Voir tous les numéros de Fakir'),$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