From f75bfc2070f9bd512c8b2158b5f674da4ecbbb63 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 28 May 2021 22:22:44 +0200 Subject: [PATCH] bug fixes with unit testing --- tests/Controller/ApiControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 683ffec..0cc24e8 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -143,7 +143,7 @@ class ApiControllerTest extends \PHPUnit\Framework\TestCase ]); $this->module->apiSettingsAccountImageSet($request, $response); - $image = ProfileMapper::get(3)->image; + $image = ProfileMapper::get($response->get('')['response']->getId())->image; self::assertEquals('Profile Logo', $image->name); }