summaryrefslogtreecommitdiffstats
path: root/tests/unit/Service
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Service')
-rw-r--r--tests/unit/Service/Social/DiasporaProviderTest.php2
-rw-r--r--tests/unit/Service/Social/FacebookProviderTest.php2
-rw-r--r--tests/unit/Service/Social/InstagramProviderTest.php2
-rw-r--r--tests/unit/Service/Social/MastodonProviderTest.php2
-rw-r--r--tests/unit/Service/Social/TelegramProviderTest.php2
-rw-r--r--tests/unit/Service/Social/XingProviderTest.php2
-rw-r--r--tests/unit/Service/SocialApiServiceTest.php8
7 files changed, 10 insertions, 10 deletions
diff --git a/tests/unit/Service/Social/DiasporaProviderTest.php b/tests/unit/Service/Social/DiasporaProviderTest.php
index ab48866d..e2361395 100644
--- a/tests/unit/Service/Social/DiasporaProviderTest.php
+++ b/tests/unit/Service/Social/DiasporaProviderTest.php
@@ -49,7 +49,7 @@ class DiasporaProviderTest extends TestCase {
$this->client = $this->createMock(IClient::class);
$this->clientService
- ->method('NewClient')
+ ->method('newClient')
->willReturn($this->client);
$this->provider = new DiasporaProvider(
diff --git a/tests/unit/Service/Social/FacebookProviderTest.php b/tests/unit/Service/Social/FacebookProviderTest.php
index fd55b718..2537bd3b 100644
--- a/tests/unit/Service/Social/FacebookProviderTest.php
+++ b/tests/unit/Service/Social/FacebookProviderTest.php
@@ -49,7 +49,7 @@ class FacebookProviderTest extends TestCase {
$this->client = $this->createMock(IClient::class);
$this->clientService
- ->method('NewClient')
+ ->method('newClient')
->willReturn($this->client);
$this->provider = new FacebookProvider(
diff --git a/tests/unit/Service/Social/InstagramProviderTest.php b/tests/unit/Service/Social/InstagramProviderTest.php
index fc032651..cba8de91 100644
--- a/tests/unit/Service/Social/InstagramProviderTest.php
+++ b/tests/unit/Service/Social/InstagramProviderTest.php
@@ -54,7 +54,7 @@ class InstagramProviderTest extends TestCase {
$this->logger = $this->createMock(LoggerInterface::class);
$this->clientService
- ->method('NewClient')
+ ->method('newClient')
->willReturn($this->client);
$this->provider = new InstagramProvider(
diff --git a/tests/unit/Service/Social/MastodonProviderTest.php b/tests/unit/Service/Social/MastodonProviderTest.php
index bcb4c75d..802364d1 100644
--- a/tests/unit/Service/Social/MastodonProviderTest.php
+++ b/tests/unit/Service/Social/MastodonProviderTest.php
@@ -49,7 +49,7 @@ class MastodonProviderTest extends TestCase {
$this->client = $this->createMock(IClient::class);
$this->clientService
- ->method('NewClient')
+ ->method('newClient')
->willReturn($this->client);
$this->provider = new MastodonProvider(
diff --git a/tests/unit/Service/Social/TelegramProviderTest.php b/tests/unit/Service/Social/TelegramProviderTest.php
index 259ad901..666158bb 100644
--- a/tests/unit/Service/Social/TelegramProviderTest.php
+++ b/tests/unit/Service/Social/TelegramProviderTest.php
@@ -54,7 +54,7 @@ class TelegramProviderTest extends TestCase {
$this->client = $this->createMock(IClient::class);
$this->clientService
- ->method('NewClient')
+ ->method('newClient')
->willReturn($this->client);
$this->provider = new TelegramProvider(
diff --git a/tests/unit/Service/Social/XingProviderTest.php b/tests/unit/Service/Social/XingProviderTest.php
index ec9280f3..e5d94ee6 100644
--- a/tests/unit/Service/Social/XingProviderTest.php
+++ b/tests/unit/Service/Social/XingProviderTest.php
@@ -49,7 +49,7 @@ class XingProviderTest extends TestCase {
$this->client = $this->createMock(IClient::class);
$this->clientService
- ->method('NewClient')
+ ->method('newClient')
->willReturn($this->client);
$this->provider = new XingProvider(
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')