From 408ef71d3218da3e76dc66b05707d33e68cb051a Mon Sep 17 00:00:00 2001 From: Laurent Laffont <llaffont@afi-sa.fr> Date: Tue, 29 May 2018 16:11:55 +0200 Subject: [PATCH] hotline #75730 MyBibApp / user / loans : test fix --- tests/scenarios/MobileApplication/UserAccountTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scenarios/MobileApplication/UserAccountTest.php b/tests/scenarios/MobileApplication/UserAccountTest.php index e4b11705776..2dfea117b92 100644 --- a/tests/scenarios/MobileApplication/UserAccountTest.php +++ b/tests/scenarios/MobileApplication/UserAccountTest.php @@ -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', -- GitLab