Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-18 13:54:26 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-18 13:54:26 +0300
commit1bd688a9d1c14b0164656d9c362894984f983a60 (patch)
tree0bbd1d20b80456dc3b07495b7b50ef530a37b7d7 /tests
parenta184e350d71d6ee94d8223311e5dbb4f869b4e3a (diff)
Use dummy backend in test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/HelperStorageTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/HelperStorageTest.php b/tests/lib/HelperStorageTest.php
index d42c43c5ab8..dacd73a4f01 100644
--- a/tests/lib/HelperStorageTest.php
+++ b/tests/lib/HelperStorageTest.php
@@ -26,6 +26,7 @@ class HelperStorageTest extends \Test\TestCase {
parent::setUp();
$this->user = $this->getUniqueID('user_');
+ \OC_User::useBackend('dummy');
\OC::$server->getUserManager()->createUser($this->user, $this->user);
$this->storage = \OC\Files\Filesystem::getStorage('/');