Skip to content
Snippets Groups Projects
Commit 408ef71d authored by Laurent's avatar Laurent
Browse files

hotline #75730 MyBibApp / user / loans : test fix

parent 847f3f32
Branches
Tags
4 merge requests!2685Master,!2684Master,!2683Hotline,!2673hotline #75730 MyBibApp / user / loans : fix PNB loans rendering
Pipeline #4286 failed with stage
in 33 minutes and 47 seconds
......@@ -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',
......
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