diff options
Diffstat (limited to 'tests/unit/Service')
7 files changed, 22 insertions, 22 deletions
diff --git a/tests/unit/Service/Social/DiasporaProviderTest.php b/tests/unit/Service/Social/DiasporaProviderTest.php index e2361395..508fb599 100644 --- a/tests/unit/Service/Social/DiasporaProviderTest.php +++ b/tests/unit/Service/Social/DiasporaProviderTest.php @@ -24,10 +24,10 @@ namespace OCA\Contacts\Service\Social; +use ChristophWurst\Nextcloud\Testing\TestCase; use OCP\Http\Client\IClient; -use OCP\Http\Client\IResponse; use OCP\Http\Client\IClientService; -use ChristophWurst\Nextcloud\Testing\TestCase; +use OCP\Http\Client\IResponse; use PHPUnit\Framework\MockObject\MockObject; class DiasporaProviderTest extends TestCase { diff --git a/tests/unit/Service/Social/FacebookProviderTest.php b/tests/unit/Service/Social/FacebookProviderTest.php index 2537bd3b..3131a4f9 100644 --- a/tests/unit/Service/Social/FacebookProviderTest.php +++ b/tests/unit/Service/Social/FacebookProviderTest.php @@ -24,10 +24,10 @@ namespace OCA\Contacts\Service\Social; +use ChristophWurst\Nextcloud\Testing\TestCase; use OCP\Http\Client\IClient; -use OCP\Http\Client\IResponse; use OCP\Http\Client\IClientService; -use ChristophWurst\Nextcloud\Testing\TestCase; +use OCP\Http\Client\IResponse; use PHPUnit\Framework\MockObject\MockObject; class FacebookProviderTest extends TestCase { diff --git a/tests/unit/Service/Social/InstagramProviderTest.php b/tests/unit/Service/Social/InstagramProviderTest.php index cba8de91..77bcd5c9 100644 --- a/tests/unit/Service/Social/InstagramProviderTest.php +++ b/tests/unit/Service/Social/InstagramProviderTest.php @@ -24,12 +24,12 @@ namespace OCA\Contacts\Service\Social; +use ChristophWurst\Nextcloud\Testing\TestCase; use OCP\Http\Client\IClient; -use OCP\Http\Client\IResponse; use OCP\Http\Client\IClientService; -use Psr\Log\LoggerInterface; -use ChristophWurst\Nextcloud\Testing\TestCase; +use OCP\Http\Client\IResponse; use PHPUnit\Framework\MockObject\MockObject; +use Psr\Log\LoggerInterface; class InstagramProviderTest extends TestCase { private $provider; diff --git a/tests/unit/Service/Social/MastodonProviderTest.php b/tests/unit/Service/Social/MastodonProviderTest.php index 802364d1..3a9cf064 100644 --- a/tests/unit/Service/Social/MastodonProviderTest.php +++ b/tests/unit/Service/Social/MastodonProviderTest.php @@ -24,10 +24,10 @@ namespace OCA\Contacts\Service\Social; +use ChristophWurst\Nextcloud\Testing\TestCase; use OCP\Http\Client\IClient; -use OCP\Http\Client\IResponse; use OCP\Http\Client\IClientService; -use ChristophWurst\Nextcloud\Testing\TestCase; +use OCP\Http\Client\IResponse; use PHPUnit\Framework\MockObject\MockObject; class MastodonProviderTest extends TestCase { diff --git a/tests/unit/Service/Social/TelegramProviderTest.php b/tests/unit/Service/Social/TelegramProviderTest.php index 666158bb..3b0dded5 100644 --- a/tests/unit/Service/Social/TelegramProviderTest.php +++ b/tests/unit/Service/Social/TelegramProviderTest.php @@ -24,10 +24,10 @@ namespace OCA\Contacts\Service\Social; +use ChristophWurst\Nextcloud\Testing\TestCase; use OCP\Http\Client\IClient; -use OCP\Http\Client\IResponse; use OCP\Http\Client\IClientService; -use ChristophWurst\Nextcloud\Testing\TestCase; +use OCP\Http\Client\IResponse; use PHPUnit\Framework\MockObject\MockObject; use Psr\Log\LoggerInterface; diff --git a/tests/unit/Service/Social/XingProviderTest.php b/tests/unit/Service/Social/XingProviderTest.php index e5d94ee6..cf0badab 100644 --- a/tests/unit/Service/Social/XingProviderTest.php +++ b/tests/unit/Service/Social/XingProviderTest.php @@ -24,10 +24,10 @@ namespace OCA\Contacts\Service\Social; +use ChristophWurst\Nextcloud\Testing\TestCase; use OCP\Http\Client\IClient; -use OCP\Http\Client\IResponse; use OCP\Http\Client\IClientService; -use ChristophWurst\Nextcloud\Testing\TestCase; +use OCP\Http\Client\IResponse; use PHPUnit\Framework\MockObject\MockObject; class XingProviderTest extends TestCase { diff --git a/tests/unit/Service/SocialApiServiceTest.php b/tests/unit/Service/SocialApiServiceTest.php index 0bee78bd..1e1ed313 100644 --- a/tests/unit/Service/SocialApiServiceTest.php +++ b/tests/unit/Service/SocialApiServiceTest.php @@ -24,24 +24,24 @@ namespace OCA\Contacts\Service; +use ChristophWurst\Nextcloud\Testing\TestCase; use OCA\Contacts\Service\Social\CompositeSocialProvider; -use OCA\Contacts\Service\Social\ISocialProvider; +use OCA\Contacts\Service\Social\ISocialProvider; +use OCA\DAV\CardDAV\CardDavBackend; use OCP\AppFramework\Http; +use OCP\AppFramework\Utility\ITimeFactory; +use OCP\Contacts\IManager; use OCP\Http\Client\IClient; -use OCP\Http\Client\IResponse; use OCP\Http\Client\IClientService; -use OCP\IConfig; -use OCP\Contacts\IManager; +use OCP\Http\Client\IResponse; use OCP\IAddressBook; -use OCA\DAV\CardDAV\CardDavBackend; -use OCP\IURLGenerator; +use OCP\IConfig; use OCP\IL10N; -use OCP\Util; -use OCP\AppFramework\Utility\ITimeFactory; +use OCP\IURLGenerator; +use OCP\Util; use PHPUnit\Framework\MockObject\MockObject; -use ChristophWurst\Nextcloud\Testing\TestCase; class SocialApiServiceTest extends TestCase { private SocialApiService $service; |