diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-18 11:54:26 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-18 11:54:26 +0100 |
commit | 1bd688a9d1c14b0164656d9c362894984f983a60 (patch) | |
tree | 0bbd1d20b80456dc3b07495b7b50ef530a37b7d7 /tests | |
parent | a184e350d71d6ee94d8223311e5dbb4f869b4e3a (diff) | |
download | nextcloud-server-1bd688a9d1c14b0164656d9c362894984f983a60.tar.gz nextcloud-server-1bd688a9d1c14b0164656d9c362894984f983a60.zip |
Use dummy backend in test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/HelperStorageTest.php | 1 |
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('/'); |