diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-10-31 14:06:39 +0100 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-11-30 17:25:07 +0000 |
commit | ede93bcb6e6d8ebe8fa326b902bdfd6c63efa1a6 (patch) | |
tree | 019dc5d7f8f854bfc313636ee4be1727e50011d6 /tests/unit/Service/SocialApiServiceTest.php | |
parent | ff8cd43f62e3e423f2cd1db971b2ffd385ae0ca4 (diff) |
fix(socialavatars): Fix HTTP client usagebackport/3681/stable5.4
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/unit/Service/SocialApiServiceTest.php')
-rw-r--r-- | tests/unit/Service/SocialApiServiceTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/Service/SocialApiServiceTest.php b/tests/unit/Service/SocialApiServiceTest.php index a45d2543..0bee78bd 100644 --- a/tests/unit/Service/SocialApiServiceTest.php +++ b/tests/unit/Service/SocialApiServiceTest.php @@ -176,7 +176,7 @@ class SocialApiServiceTest extends TestCase { ->method('get') ->willReturn($response); $this->clientService - ->method('NewClient') + ->method('newClient') ->willReturn($client); $this->imageResizer ->expects($body ? $this->once() : $this->never()) @@ -237,7 +237,7 @@ class SocialApiServiceTest extends TestCase { ->method('get') ->willReturn($response); $this->clientService - ->method('NewClient') + ->method('newClient') ->willReturn($client); $this->imageResizer ->expects($this->once()) @@ -310,7 +310,7 @@ class SocialApiServiceTest extends TestCase { ->method('get') ->willReturn($response); $this->clientService - ->method('NewClient') + ->method('newClient') ->willReturn($client); $this->imageResizer ->expects($this->once()) @@ -438,7 +438,7 @@ class SocialApiServiceTest extends TestCase { ->method('get') ->willReturn($validResponse); $this->clientService - ->method('NewClient') + ->method('newClient') ->willReturn($client); $this->imageResizer ->method('resizeImage') |