summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/BackendTest.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-01 12:49:41 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-05 14:13:41 +0200
commitf37fa6e45c4357ce9849543fa91551a62f3828b8 (patch)
tree0d2c79bc1d252d43770e839248c6d9b8bc312489 /apps/files_sharing/tests/BackendTest.php
parent84e6b8d9d05f7e481276090101ddf77f1ab3cfdf (diff)
downloadnextcloud-server-f37fa6e45c4357ce9849543fa91551a62f3828b8.tar.gz
nextcloud-server-f37fa6e45c4357ce9849543fa91551a62f3828b8.zip
Move Share backends to PSR-4 instead of using class path (#24941)
Diffstat (limited to 'apps/files_sharing/tests/BackendTest.php')
-rw-r--r--apps/files_sharing/tests/BackendTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/BackendTest.php b/apps/files_sharing/tests/BackendTest.php
index f5fd726d637..cea8762a5b4 100644
--- a/apps/files_sharing/tests/BackendTest.php
+++ b/apps/files_sharing/tests/BackendTest.php
@@ -79,7 +79,7 @@ class BackendTest extends TestCase {
$this->assertTrue(\OCP\Share::shareItem('folder', $fileinfo2['fileid'], \OCP\Share::SHARE_TYPE_USER,
self::TEST_FILES_SHARING_API_USER3, 31));
- $backend = new \OC_Share_Backend_Folder();
+ $backend = new \OCA\Files_Sharing\ShareBackend\Folder();
$result = $backend->getParents($fileinfo3['fileid']);
$this->assertSame(2, count($result));