summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/tests
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-28 17:04:35 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-28 17:04:35 +0200
commit6ae7bde78849829e2f439dd06a8ff87ab6339450 (patch)
treef7b2ede56076cd2a61f28d6cd476046cf54b1fc7 /apps/files_encryption/tests
parentcc0cf931365d0c515038015bc7792f8500fafcc3 (diff)
downloadnextcloud-server-6ae7bde78849829e2f439dd06a8ff87ab6339450.tar.gz
nextcloud-server-6ae7bde78849829e2f439dd06a8ff87ab6339450.zip
fixed encryption session namespace to avoid problems
Diffstat (limited to 'apps/files_encryption/tests')
-rwxr-xr-xapps/files_encryption/tests/crypt.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/tests/crypt.php b/apps/files_encryption/tests/crypt.php
index e9f155e2649..5b0486aad8c 100755
--- a/apps/files_encryption/tests/crypt.php
+++ b/apps/files_encryption/tests/crypt.php
@@ -270,7 +270,7 @@ class Test_Encryption_Crypt extends \PHPUnit_Framework_TestCase {
$shareKey = Encryption\Keymanager::getShareKey($this->view, $this->userId, $filename);
// get session
- $session = new Encryption\Session($this->view);
+ $session = new \OCA\Encryption\Session($this->view);
// get private key
$privateKey = $session->getPrivateKey($this->userId);
@@ -345,7 +345,7 @@ class Test_Encryption_Crypt extends \PHPUnit_Framework_TestCase {
$shareKey = Encryption\Keymanager::getShareKey($this->view, $this->userId, $filename);
// get session
- $session = new Encryption\Session($this->view);
+ $session = new \OCA\Encryption\Session($this->view);
// get private key
$privateKey = $session->getPrivateKey($this->userId);