dont use our now non existing hook
This commit is contained in:
parent
30ad56813a
commit
be55a90323
3 changed files with 9 additions and 3 deletions
|
@ -54,7 +54,9 @@ class Test_Trashbin extends \Test\TestCase {
|
|||
// clear share hooks
|
||||
\OC_Hook::clear('OCP\\Share');
|
||||
\OC::registerShareHooks();
|
||||
\OCP\Util::connectHook('OC_Filesystem', 'setup', '\OC\Files\Storage\Shared', 'setup');
|
||||
$application = new \OCA\Files_Sharing\AppInfo\Application();
|
||||
$application->registerMountProviders();
|
||||
$application->setupPropagation();
|
||||
|
||||
//disable encryption
|
||||
\OC_App::disable('files_encryption');
|
||||
|
|
|
@ -47,7 +47,9 @@ class Test_Files_Versioning extends \Test\TestCase {
|
|||
\OC_Hook::clear('OCP\\Share');
|
||||
\OC::registerShareHooks();
|
||||
\OCA\Files_Versions\Hooks::connectHooks();
|
||||
\OCP\Util::connectHook('OC_Filesystem', 'setup', '\OC\Files\Storage\Shared', 'setup');
|
||||
$application = new \OCA\Files_Sharing\AppInfo\Application();
|
||||
$application->registerMountProviders();
|
||||
$application->setupPropagation();
|
||||
|
||||
// create test user
|
||||
self::loginHelper(self::TEST_VERSIONS_USER2, true);
|
||||
|
|
|
@ -25,7 +25,9 @@ class EtagTest extends \Test\TestCase {
|
|||
parent::setUp();
|
||||
|
||||
\OC_Hook::clear('OC_Filesystem', 'setup');
|
||||
\OCP\Util::connectHook('OC_Filesystem', 'setup', '\OC\Files\Storage\Shared', 'setup');
|
||||
$application = new \OCA\Files_Sharing\AppInfo\Application();
|
||||
$application->registerMountProviders();
|
||||
$application->setupPropagation();
|
||||
\OCP\Share::registerBackend('file', 'OC_Share_Backend_File');
|
||||
\OCP\Share::registerBackend('folder', 'OC_Share_Backend_Folder', 'file');
|
||||
|
||||
|
|
Loading…
Reference in a new issue