Skip to content
Snippets Groups Projects
Commit bf596de8 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #30973 fix tests failures

parent b08a5427
Branches
Tags
4 merge requests!1553Master,!1502Master,!1501Stable,!1328Dev#30973 pnb backoffice table
......@@ -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('Prts numriques en cours'));
'Prts numriques en cours');
}
......
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