summaryrefslogtreecommitdiffstats
path: root/tests
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 /tests
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 'tests')
-rw-r--r--tests/lib/Files/EtagTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/EtagTest.php b/tests/lib/Files/EtagTest.php
index d8e44000f9c..67ddd6ca514 100644
--- a/tests/lib/Files/EtagTest.php
+++ b/tests/lib/Files/EtagTest.php
@@ -34,8 +34,8 @@ class EtagTest extends \Test\TestCase {
\OC_Hook::clear('OC_Filesystem', 'setup');
$application = new \OCA\Files_Sharing\AppInfo\Application();
$application->registerMountProviders();
- \OCP\Share::registerBackend('file', 'OC_Share_Backend_File');
- \OCP\Share::registerBackend('folder', 'OC_Share_Backend_Folder', 'file');
+ \OCP\Share::registerBackend('file', 'OCA\Files_Sharing\ShareBackend\File');
+ \OCP\Share::registerBackend('folder', 'OCA\Files_Sharing\ShareBackend\Folder', 'file');
$config = \OC::$server->getConfig();
$this->datadir = $config->getSystemValue('datadirectory');