From bf596de8026bc17f681d31be56e98b329a9752d1 Mon Sep 17 00:00:00 2001 From: Ghislain Loas <ghislo@sandbox.pergame.net> Date: Wed, 2 Dec 2015 10:44:07 +0100 Subject: [PATCH] dev #30973 fix tests failures --- .../modules/opac/controllers/AbonneControllerPretsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/application/modules/opac/controllers/AbonneControllerPretsTest.php b/tests/application/modules/opac/controllers/AbonneControllerPretsTest.php index 5c02eebb486..45247d90630 100644 --- a/tests/application/modules/opac/controllers/AbonneControllerPretsTest.php +++ b/tests/application/modules/opac/controllers/AbonneControllerPretsTest.php @@ -407,7 +407,7 @@ class AbonneControllerPretsListThreePretsPnbEarlyReturnTest extends AbonneContro $this->_http ->whenCalled('open_url') - ->with('/v2/pnb-numerique/json/getEndedLoans?glnContractor=777&loanId[0]=5') + ->with('/v2/pnb-numerique/json/getEndedLoans?glnContractor=777&loanId[0]=5&loanId[1]=6') ->answers(DilicomFixtures::getEndedLoansResponse(['{"loanId":"5","returnDate":"2015-09-18T14:30:00+02:00"}'])) ->beStrict(); @@ -418,7 +418,7 @@ class AbonneControllerPretsListThreePretsPnbEarlyReturnTest extends AbonneContro /** @test */ public function pnbTitleShouldNotBePresent() { $this->assertNotXpathContentContains('//h2', - utf8_encode('Prêts numériques en cours')); + 'Prêts numériques en cours'); } -- GitLab