summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-08-29 14:36:00 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-10-20 11:28:36 +0200
commit9b0f0df7f52d16e71d40834035dd840ad4fa86b0 (patch)
treee850cf5a0898a5e055fc285c83b10a42d5e29d0c /apps
parent87da62072b6df177bceb0c78c350458e0df86d0a (diff)
downloadnextcloud-server-9b0f0df7f52d16e71d40834035dd840ad4fa86b0.tar.gz
nextcloud-server-9b0f0df7f52d16e71d40834035dd840ad4fa86b0.zip
make skeleton compatible with objectstore
suspend encryption proxy when copying skeleton
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/tests/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/base.php b/apps/files_sharing/tests/base.php
index 738ba3493ba..84de6006fdb 100644
--- a/apps/files_sharing/tests/base.php
+++ b/apps/files_sharing/tests/base.php
@@ -126,9 +126,9 @@ abstract class Test_Files_Sharing_Base extends \PHPUnit_Framework_TestCase {
}
\OC_Util::tearDownFS();
- \OC_User::setUserId('');
+ \OC::$server->getUserSession()->setUser(null);
\OC\Files\Filesystem::tearDown();
- \OC_User::setUserId($user);
+ \OC::$server->getUserSession()->login($user, $password);
\OC_Util::setupFS($user);
}