diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-24 11:46:25 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-24 11:46:25 +0200 |
commit | f589f1a1d62bac542f96082c3db2c9577c841e59 (patch) | |
tree | 82fac23710866b68289a39c26b2b8eda3b85f338 /apps/files_sharing/tests | |
parent | f054adb4291c83b05777688360780146af5f7d94 (diff) | |
download | nextcloud-server-f589f1a1d62bac542f96082c3db2c9577c841e59.tar.gz nextcloud-server-f589f1a1d62bac542f96082c3db2c9577c841e59.zip |
Move files_sharing Controllers => Controller
lib/Controller is the default location for controllers. So lets put them
all in there.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/Controller/ExternalShareControllerTest.php (renamed from apps/files_sharing/tests/Controllers/ExternalShareControllerTest.php) | 2 | ||||
-rw-r--r-- | apps/files_sharing/tests/Controller/ShareControllerTest.php (renamed from apps/files_sharing/tests/Controllers/ShareControllerTest.php) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/Controllers/ExternalShareControllerTest.php b/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php index e5fd739c4fa..71a4f4adeba 100644 --- a/apps/files_sharing/tests/Controllers/ExternalShareControllerTest.php +++ b/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php @@ -24,7 +24,7 @@ namespace OCA\Files_Sharing\Tests\Controllers; -use OCA\Files_Sharing\Controllers\ExternalSharesController; +use OCA\Files_Sharing\Controller\ExternalSharesController; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Http\JSONResponse; use OCP\Http\Client\IClientService; diff --git a/apps/files_sharing/tests/Controllers/ShareControllerTest.php b/apps/files_sharing/tests/Controller/ShareControllerTest.php index 94891d868c2..dae7740b3ae 100644 --- a/apps/files_sharing/tests/Controllers/ShareControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareControllerTest.php @@ -33,7 +33,7 @@ namespace OCA\Files_Sharing\Tests\Controllers; use OC\Files\Filesystem; use OCA\FederatedFileSharing\FederatedShareProvider; -use OCA\Files_Sharing\Controllers\ShareController; +use OCA\Files_Sharing\Controller\ShareController; use OCP\AppFramework\Http\DataResponse; use OCP\Share\Exceptions\ShareNotFound; use OCP\AppFramework\Http\NotFoundResponse; @@ -96,7 +96,7 @@ class ShareControllerTest extends \Test\TestCase { ->method('isIncomingServer2serverShareEnabled')->willReturn(true); $this->eventDispatcher = $this->getMockBuilder('Symfony\Component\EventDispatcher\EventDispatcherInterface')->getMock(); - $this->shareController = new \OCA\Files_Sharing\Controllers\ShareController( + $this->shareController = new \OCA\Files_Sharing\Controller\ShareController( $this->appName, $this->getMockBuilder('\OCP\IRequest')->getMock(), $this->config, |