From 9002212fddd8ea6e912530ae4ec6ed550fcb65d9 Mon Sep 17 00:00:00 2001 From: Ghislain Loas <ghislo@sandbox.pergame.net> Date: Tue, 3 Jun 2014 10:20:46 +0200 Subject: [PATCH] hotline #14019 fix test failures --- application/modules/opac/controllers/AbonneController.php | 1 + .../modules/opac/controllers/AbonneControllerPretsTest.php | 2 +- .../modules/opac/controllers/PanierControllerTest.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/application/modules/opac/controllers/AbonneController.php b/application/modules/opac/controllers/AbonneController.php index bb8b998f2df..85729b25468 100644 --- a/application/modules/opac/controllers/AbonneController.php +++ b/application/modules/opac/controllers/AbonneController.php @@ -931,6 +931,7 @@ class AbonneController extends ZendAfi_Controller_Action { public function loanExportAction() { + xdebug_break(); $this->_helper->viewRenderer->setNoRender(); $datas = []; diff --git a/tests/application/modules/opac/controllers/AbonneControllerPretsTest.php b/tests/application/modules/opac/controllers/AbonneControllerPretsTest.php index 04588209427..c4be5240bec 100644 --- a/tests/application/modules/opac/controllers/AbonneControllerPretsTest.php +++ b/tests/application/modules/opac/controllers/AbonneControllerPretsTest.php @@ -137,7 +137,7 @@ class AbonneControllerPretsExportTwoPretsTest extends AbonneControllerPretsListT /** @test */ public function bodyShouldContainsUnimarcs() { - $this->assertSame('01200nam0 22002891 450 001001400000010003700014100004100051101000800092102000700100105001800107106000600125200009300131210002400224211001300248215006400261300002400325307002900349330027300378345001800651461005600669700001800725701003000743801003300773856008300806940000700889995001400896frOr0354235228 a978-2-35592-635-8bbr.d7,65 EUR a20140225d2014 | |0fre|0103||||ba afre aFR a 0||y| ar1 aAlice au royaume de TrÁefleeCheshire cat Waltzh5fQuinRosegdessin Mamenosuke Fujimaru aPariscKi-oond2014 1a20140227 a1 vol. (164 p.)cillustrations en noir et blancd18 x 13 cm aTraduit du japonais aSens de lecture japonais aPerdue dans la forÃet aux portes, Alice tombe nez Áa nez avec Ace. Devenue malgrÂe elle la confidente du chevalier, elle ne sait comment repousser ses avances. Lorsque le chat du Cheshire, qui a assistÂe Áa la scÁene, intervient, la rencontre tourne Áa l\'affrontement. b9782355926358 1tAlice au royaume de TrÁefle : Cheshire cat Waltzv5 1aQuinRose4070 1aFujimarubMamenosuke4440 aFRbElectrec20140225gAFNOR uhttp://www.electre.com//GetBlob.ashx?Ean=9782355926358,0-1913692&Size=Original aLR 1aAliceItem00603nam0 22001931 450 001001400000010001800014100004100032101000800073200010700081210003000188215001100218461002000229606002900249676000800278700004500286801005600331940000700387995001500394frOr1314913787 a9781408812792 a20140320 0103 aEng1 aHarry Potter and the deathly hallowsdHarry Potter et les reliques de la mortfJoanne Kathleen Rowling aLondrescBloomsburyd2010 a831 p. 1tHarry Potterv7 aAnglais (langue)2Rameau a420 1aRowlingbJoanne Kathleenf1965-....4070 aFRbBibliothÁeque de l\'agglomÂeration de Saint-Omer apm 1aPotterItem', + $this->assertSame('01200nam0 22002891 450 001001400000010003700014100004100051101000800092102000700100105001800107106000600125200009300131210002400224211001300248215006400261300002400325307002900349330027300378345001800651461005600669700001800725701003000743801003300773856008300806940000700889995001400896frOr0354235228 a978-2-35592-635-8bbr.d7,65 EUR a20140225d2014 | |0fre|0103||||ba afre aFR a 0||y| ar1 aAlice au royaume de TrÁefleeCheshire cat Waltzh5fQuinRosegdessin Mamenosuke Fujimaru aPariscKi-oond2014 1a20140227 a1 vol. (164 p.)cillustrations en noir et blancd18 x 13 cm aTraduit du japonais aSens de lecture japonais aPerdue dans la forÃet aux portes, Alice tombe nez Áa nez avec Ace. Devenue malgrÂe elle la confidente du chevalier, elle ne sait comment repousser ses avances. Lorsque le chat du Cheshire, qui a assistÂe Áa la scÁene, intervient, la rencontre tourne Áa l\'affrontement. b9782355926358 1tAlice au royaume de TrÁefle : Cheshire cat Waltzv5 1aQuinRose4070 1aFujimarubMamenosuke4440 aFRbElectrec20140225gAFNOR uhttp://www.electre.com//GetBlob.ashx?Ean=9782355926358,0-1913692&Size=Original aLR 1aAliceItem00603nam0 22001931 450 001001400000010001800014100004100032101000800073200010700081210003000188215001100218461002000229606002900249676000800278700004500286801005600331940000700387995001500394frOr1314913787 a9781408812792 a20140320 0103 aEng1 aHarry Potter and the deathly hallowsdHarry Potter et les reliques de la mortfJoanne Kathleen Rowling aLondrescBloomsburyd2010 a831 p. 1tHarry Potterv7 aAnglais (langue)2Rameau a420 1aRowlingbJoanne Kathleenf1965-....4070 aFRbBibliothÁeque de l\'agglomÂeration de Saint-Omer apm 1aPotterItem', $this->_response->getBody()); } } diff --git a/tests/application/modules/opac/controllers/PanierControllerTest.php b/tests/application/modules/opac/controllers/PanierControllerTest.php index 528878b034f..b77ec4f0164 100644 --- a/tests/application/modules/opac/controllers/PanierControllerTest.php +++ b/tests/application/modules/opac/controllers/PanierControllerTest.php @@ -748,7 +748,7 @@ class PanierControllerExportUnimarcTest extends PanierControllerTestCase { /** @test */ public function bodyShouldReturnUnimarcISO2709() { - $this->assertEquals('00444nam0 22001811 450 0010007000000100028000071000041000351010008000761020007000841050018000912000032001092100026001412150038001677000022002058010022002279020007002499030006002560507356 a978-2-260-01723-3d22 ? a20080612d|||| uuuy0frey0103 ba| afre aFR ay|||||||000|y1 aMontespan (Le)fJean TeulÄA© aPariscJulliardd2008 a333 p.cjaq. ill. en coul.d21 cm 1aTeulÄA©bJean4070 0aFRbBMVc20080612 arh ', + $this->assertEquals('00444nam0 22001811 450 0010007000000100028000071000041000351010008000761020007000841050018000912000032001092100026001412150038001677000022002058010022002279020007002499030006002560507356 a978-2-260-01723-3d22 ? a20080612d|||| uuuy0frey0103 ba| afre aFR ay|||||||000|y1 aMontespan (Le)fJean TeulÄA© aPariscJulliardd2008 a333 p.cjaq. ill. en coul.d21 cm 1aTeulÄA©bJean4070 0aFRbBMVc20080612 arh ', $this->_response->getBody()); } -- GitLab