summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/tests/testcase.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_encryption/tests/testcase.php')
-rw-r--r--apps/files_encryption/tests/testcase.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_encryption/tests/testcase.php b/apps/files_encryption/tests/testcase.php
index 743a876ab45..84b728d4aaa 100644
--- a/apps/files_encryption/tests/testcase.php
+++ b/apps/files_encryption/tests/testcase.php
@@ -8,7 +8,7 @@
namespace OCA\Files_Encryption\Tests;
-use OCA\Encryption;
+use OCA\Files_Encryption\Helper;
/**
* Class Test_Encryption_TestCase
@@ -42,7 +42,7 @@ abstract class TestCase extends \Test\TestCase {
if ($loadEncryption) {
$params['uid'] = $user;
$params['password'] = $password;
- \OCA\Encryption\Hooks::login($params);
+ \OCA\Files_Encryption\Hooks::login($params);
}
}
@@ -59,16 +59,16 @@ abstract class TestCase extends \Test\TestCase {
\OC_User::clearBackends();
\OC_User::useBackend('database');
- \OCA\Encryption\Helper::registerFilesystemHooks();
- \OCA\Encryption\Helper::registerUserHooks();
- \OCA\Encryption\Helper::registerShareHooks();
+ Helper::registerFilesystemHooks();
+ Helper::registerUserHooks();
+ Helper::registerShareHooks();
\OC::registerShareHooks();
\OCP\Util::connectHook('OC_Filesystem', 'setup', '\OC\Files\Storage\Shared', 'setup');
// clear and register hooks
\OC_FileProxy::clearProxies();
- \OC_FileProxy::register(new \OCA\Encryption\Proxy());
+ \OC_FileProxy::register(new \OCA\Files_Encryption\Proxy());
}
public static function tearDownAfterClass() {