aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/Service
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-13 11:56:47 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-24 08:41:22 +0200
commitf14dff680d5e1e0fe10065ed25c524d9b5078cae (patch)
treef86d6466629f4d0f5d1a6de7fcd111ca27d3f52f /apps/files_external/tests/Service
parent4576891f10aa41cc146dc6ed421384269eca283a (diff)
downloadnextcloud-server-f14dff680d5e1e0fe10065ed25c524d9b5078cae.tar.gz
nextcloud-server-f14dff680d5e1e0fe10065ed25c524d9b5078cae.zip
Move remaining classes to PSR-4
Diffstat (limited to 'apps/files_external/tests/Service')
-rw-r--r--apps/files_external/tests/Service/StoragesServiceTest.php8
-rw-r--r--apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php2
-rw-r--r--apps/files_external/tests/Service/UserStoragesServiceTest.php6
3 files changed, 8 insertions, 8 deletions
diff --git a/apps/files_external/tests/Service/StoragesServiceTest.php b/apps/files_external/tests/Service/StoragesServiceTest.php
index 7cc0d8fad93..5d1094271e5 100644
--- a/apps/files_external/tests/Service/StoragesServiceTest.php
+++ b/apps/files_external/tests/Service/StoragesServiceTest.php
@@ -24,8 +24,8 @@ namespace OCA\Files_External\Tests\Service;
use \OC\Files\Filesystem;
-use \OCA\Files_external\NotFoundException;
-use \OCA\Files_external\Lib\StorageConfig;
+use OCA\Files_External\NotFoundException;
+use OCA\Files_External\Lib\StorageConfig;
use OCA\Files_External\Service\BackendService;
use OCA\Files_External\Service\DBConfigService;
use OCA\Files_External\Service\StoragesService;
@@ -241,7 +241,7 @@ abstract class StoragesServiceTest extends \Test\TestCase {
/**
- * @expectedException \OCA\Files_external\NotFoundException
+ * @expectedException \OCA\Files_External\NotFoundException
*/
public function testNonExistingStorage() {
$backend = $this->backendService->getBackend('identifier:\OCA\Files_External\Lib\Backend\SMB');
@@ -324,7 +324,7 @@ abstract class StoragesServiceTest extends \Test\TestCase {
}
/**
- * @expectedException \OCA\Files_external\NotFoundException
+ * @expectedException \OCA\Files_External\NotFoundException
*/
public function testDeleteUnexistingStorage() {
$this->service->removeStorage(255);
diff --git a/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php b/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
index 812c12392fc..4a03b6194e9 100644
--- a/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
+++ b/apps/files_external/tests/Service/UserGlobalStoragesServiceTest.php
@@ -22,7 +22,7 @@
*/
namespace OCA\Files_External\Tests\Service;
-use OCA\Files_external\NotFoundException;
+use OCA\Files_External\NotFoundException;
use OCA\Files_External\Service\StoragesService;
use OCA\Files_External\Service\UserGlobalStoragesService;
use OCP\IUser;
diff --git a/apps/files_external/tests/Service/UserStoragesServiceTest.php b/apps/files_external/tests/Service/UserStoragesServiceTest.php
index 21696878a01..6ae888d8274 100644
--- a/apps/files_external/tests/Service/UserStoragesServiceTest.php
+++ b/apps/files_external/tests/Service/UserStoragesServiceTest.php
@@ -27,7 +27,7 @@ use \OC\Files\Filesystem;
use OCA\Files_External\Service\GlobalStoragesService;
use OCA\Files_External\Service\StoragesService;
use OCA\Files_External\Service\UserStoragesService;
-use \OCA\Files_external\Lib\StorageConfig;
+use OCA\Files_External\Lib\StorageConfig;
use Test\Traits\UserTrait;
/**
@@ -185,7 +185,7 @@ class UserStoragesServiceTest extends StoragesServiceTest {
}
/**
- * @expectedException \OCA\Files_external\NotFoundException
+ * @expectedException \OCA\Files_External\NotFoundException
*/
public function testGetAdminStorage() {
$backend = $this->backendService->getBackend('identifier:\OCA\Files_External\Lib\Backend\SMB');
@@ -200,7 +200,7 @@ class UserStoragesServiceTest extends StoragesServiceTest {
$newStorage = $this->globalStoragesService->addStorage($storage);
- $this->assertInstanceOf('\OCA\Files_external\Lib\StorageConfig', $this->globalStoragesService->getStorage($newStorage->getId()));
+ $this->assertInstanceOf('\OCA\Files_External\Lib\StorageConfig', $this->globalStoragesService->getStorage($newStorage->getId()));
$this->service->getStorage($newStorage->getId());
}