From 88484c422cc61bdcd38b81db77ef3ecdf39caec7 Mon Sep 17 00:00:00 2001 From: einhorn_b Date: Wed, 16 Jun 2021 15:31:48 +0200 Subject: [PATCH] update test --- .../tests/TestCase/Controller/AppRequestControllerTest.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/community_server/tests/TestCase/Controller/AppRequestControllerTest.php b/community_server/tests/TestCase/Controller/AppRequestControllerTest.php index 6a8296d94..bff10d997 100644 --- a/community_server/tests/TestCase/Controller/AppRequestControllerTest.php +++ b/community_server/tests/TestCase/Controller/AppRequestControllerTest.php @@ -112,7 +112,8 @@ class AppRequestControllerTest extends TestCase $this->getAndParse('/api/get-balance/' . 1211, ['state' => 'not found', 'msg' => 'invalid session', - 'details' => ['msg' => 'session not found', 'state' => 'not found']] + 'details' => ['msg' => 'session not found', 'state' => 'not found'] + ] ); } @@ -129,7 +130,9 @@ class AppRequestControllerTest extends TestCase ]); $this->getAndParse('/api/get-balance/' , - ['state' => 'not found', 'msg' => 'invalid session'] + ['state' => 'not found', 'msg' => 'invalid session', + 'details' => ['msg' => 'session not found', 'state' => 'not found'] + ] ); }