diff --git a/tests/application/modules/opac/controllers/AbonneControllerPretsTest.php b/tests/application/modules/opac/controllers/AbonneControllerPretsTest.php index 5c02eebb486960d59299528257fb2c00a4f60cd5..45247d9063076d71cae03a714802e12f42a546e8 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'); }