summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-04-05 22:35:59 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-11 15:04:01 +0200
commit53bca14a27538e457f69fbbdf5aeae2eb3194706 (patch)
treeacdddd5a0519a6b839018c7a02025a86807e563c /apps/federatedfilesharing/tests
parent3bc72f7224b6698c13d66c102e55e65467105c94 (diff)
downloadnextcloud-server-53bca14a27538e457f69fbbdf5aeae2eb3194706.tar.gz
nextcloud-server-53bca14a27538e457f69fbbdf5aeae2eb3194706.zip
Do proper DI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/federatedfilesharing/tests')
-rw-r--r--apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php b/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php
index c695fb140e5..512000181c1 100644
--- a/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php
+++ b/apps/federatedfilesharing/tests/Controller/RequestHandlerControllerTest.php
@@ -276,7 +276,7 @@ class RequestHandlerControllerTest extends TestCase {
Filesystem::getLoader(),
$httpClientService,
\OC::$server->getNotificationManager(),
- \OC::$server->getOCSDiscoveryService(),
+ \OC::$server->query(\OCP\OCS\IDiscoveryService::class),
$toDelete
);