summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2023-01-16 11:44:04 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2023-01-20 16:04:51 +0100
commit2b369fc7321f147542cd34becc0ea4623f06e13a (patch)
tree08e020a0d9dd460fc57259acfe5b72e6625dd2f2 /tests
parentc3c43ab230e61b664ab07b5d6a2d003109259657 (diff)
chore: run composer cs:check
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/ContactsMenu/Provider/DetailsProviderTest.php1
-rw-r--r--tests/unit/Service/ImageResizerTest.php1
-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.php6
-rw-r--r--tests/unit/Service/Social/MastodonProviderTest.php2
-rw-r--r--tests/unit/Service/Social/XingProviderTest.php2
-rw-r--r--tests/unit/Service/SocialApiServiceTest.php18
8 files changed, 16 insertions, 18 deletions
diff --git a/tests/unit/ContactsMenu/Provider/DetailsProviderTest.php b/tests/unit/ContactsMenu/Provider/DetailsProviderTest.php
index 59bd169f..af1acb64 100644
--- a/tests/unit/ContactsMenu/Provider/DetailsProviderTest.php
+++ b/tests/unit/ContactsMenu/Provider/DetailsProviderTest.php
@@ -37,7 +37,6 @@ use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase as Base;
class DetailsProviderTest extends Base {
-
/** @var IURLGenerator|MockObject */
private $urlGenerator;
diff --git a/tests/unit/Service/ImageResizerTest.php b/tests/unit/Service/ImageResizerTest.php
index 00d569d5..5f5a57e9 100644
--- a/tests/unit/Service/ImageResizerTest.php
+++ b/tests/unit/Service/ImageResizerTest.php
@@ -27,7 +27,6 @@ namespace OCA\Contacts\Service;
use ChristophWurst\Nextcloud\Testing\TestCase;
class ImageResizerTest extends TestCase {
-
/** @var ImageResizer */
private $imageResizer;
diff --git a/tests/unit/Service/Social/DiasporaProviderTest.php b/tests/unit/Service/Social/DiasporaProviderTest.php
index 07e65d06..ab48866d 100644
--- a/tests/unit/Service/Social/DiasporaProviderTest.php
+++ b/tests/unit/Service/Social/DiasporaProviderTest.php
@@ -53,7 +53,7 @@ class DiasporaProviderTest extends TestCase {
->willReturn($this->client);
$this->provider = new DiasporaProvider(
- $this->clientService
+ $this->clientService
);
}
diff --git a/tests/unit/Service/Social/FacebookProviderTest.php b/tests/unit/Service/Social/FacebookProviderTest.php
index a386543c..fd55b718 100644
--- a/tests/unit/Service/Social/FacebookProviderTest.php
+++ b/tests/unit/Service/Social/FacebookProviderTest.php
@@ -53,7 +53,7 @@ class FacebookProviderTest extends TestCase {
->willReturn($this->client);
$this->provider = new FacebookProvider(
- $this->clientService
+ $this->clientService
);
}
diff --git a/tests/unit/Service/Social/InstagramProviderTest.php b/tests/unit/Service/Social/InstagramProviderTest.php
index 1cf70ceb..fc032651 100644
--- a/tests/unit/Service/Social/InstagramProviderTest.php
+++ b/tests/unit/Service/Social/InstagramProviderTest.php
@@ -58,7 +58,7 @@ class InstagramProviderTest extends TestCase {
->willReturn($this->client);
$this->provider = new InstagramProvider(
- $this->clientService, $this->logger
+ $this->clientService, $this->logger
);
}
@@ -104,10 +104,10 @@ class InstagramProviderTest extends TestCase {
];
$contactWithSocialJson = [
json_encode(
- ["graphql" => ["user" => ["profile_pic_url_hd" => "username1.jpg"]]]
+ ["graphql" => ["user" => ["profile_pic_url_hd" => "username1.jpg"]]]
),
json_encode(
- ["graphql" => ["user" => ["profile_pic_url_hd" => "username2.jpg"]]]
+ ["graphql" => ["user" => ["profile_pic_url_hd" => "username2.jpg"]]]
)
];
$contactWithSocialImgs = [
diff --git a/tests/unit/Service/Social/MastodonProviderTest.php b/tests/unit/Service/Social/MastodonProviderTest.php
index db1d6fc3..5add27c1 100644
--- a/tests/unit/Service/Social/MastodonProviderTest.php
+++ b/tests/unit/Service/Social/MastodonProviderTest.php
@@ -53,7 +53,7 @@ class MastodonProviderTest extends TestCase {
->willReturn($this->client);
$this->provider = new MastodonProvider(
- $this->clientService
+ $this->clientService
);
}
diff --git a/tests/unit/Service/Social/XingProviderTest.php b/tests/unit/Service/Social/XingProviderTest.php
index e0853257..ec9280f3 100644
--- a/tests/unit/Service/Social/XingProviderTest.php
+++ b/tests/unit/Service/Social/XingProviderTest.php
@@ -53,7 +53,7 @@ class XingProviderTest extends TestCase {
->willReturn($this->client);
$this->provider = new XingProvider(
- $this->clientService
+ $this->clientService
);
}
diff --git a/tests/unit/Service/SocialApiServiceTest.php b/tests/unit/Service/SocialApiServiceTest.php
index 622610a4..a45d2543 100644
--- a/tests/unit/Service/SocialApiServiceTest.php
+++ b/tests/unit/Service/SocialApiServiceTest.php
@@ -185,9 +185,9 @@ class SocialApiServiceTest extends TestCase {
$result = $this->service
->updateContact(
- 'contacts',
- '3225c0d5-1bd2-43e5-a08c-4e65eaa406b0',
- null);
+ 'contacts',
+ '3225c0d5-1bd2-43e5-a08c-4e65eaa406b0',
+ null);
$this->assertEquals($status, $result->getStatus());
}
@@ -257,9 +257,9 @@ class SocialApiServiceTest extends TestCase {
$result = $this->service
->updateContact(
- $addressBookId,
- $contactId,
- $network);
+ $addressBookId,
+ $contactId,
+ $network);
$this->assertEquals(Http::STATUS_OK, $result->getStatus());
}
@@ -330,9 +330,9 @@ class SocialApiServiceTest extends TestCase {
$result = $this->service
->updateContact(
- $addressBookId,
- $contactId,
- $network);
+ $addressBookId,
+ $contactId,
+ $network);
$this->assertEquals(Http::STATUS_OK, $result->getStatus());
}