Commit 408ef71d authored by Laurent's avatar Laurent

hotline #75730 MyBibApp / user / loans : test fix

parent 847f3f32
......@@ -313,7 +313,7 @@ class Scenario_MobileApplication_UserAccountLoansWithoutTokenTest extends Scenar
"Content-Type" => "application/json"]);
$loans = json_decode($this->_response->getBody(), true);
$this->assertArraySubset(['title' => 'Potter',
$this->assertArraySubset(['title' => 'Harry Potter La chambre des secrets',
'author' => 'J.K.R',
'date_due' => '1974-01-01',
'loaned_by' => 'puppy',
......@@ -331,7 +331,7 @@ class Scenario_MobileApplication_UserAccountLoansWithoutTokenTest extends Scenar
["Content-Type" => "application/json"]);
$loans = json_decode($this->_response->getBody(), true);
$this->assertArraySubset(['title' => 'Potter',
$this->assertArraySubset(['title' => 'Harry Potter La chambre des secrets',
'author' => 'J.K.R',
'date_due' => '1974-01-01',
'loaned_by' => 'puppy',
......
Markdown is supported
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