diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-09-11 16:45:32 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-18 11:55:15 +0200 |
commit | 485ea316a196e86e547eab622e4ed522c4b52588 (patch) | |
tree | 2daa963f8d1d79ae18b2acf918f84de949aa1c6b /tests | |
parent | dc870cb450cabadf79fb805715ed772bab8baafd (diff) | |
download | nextcloud-server-485ea316a196e86e547eab622e4ed522c4b52588.tar.gz nextcloud-server-485ea316a196e86e547eab622e4ed522c4b52588.zip |
reuse the same datadir
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/connector/sabre/requesttest/requesttest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/connector/sabre/requesttest/requesttest.php b/tests/lib/connector/sabre/requesttest/requesttest.php index 7afe2645037..4d4c8173caa 100644 --- a/tests/lib/connector/sabre/requesttest/requesttest.php +++ b/tests/lib/connector/sabre/requesttest/requesttest.php @@ -52,7 +52,8 @@ abstract class RequestTest extends TestCase { protected function setupUser($name, $password) { $this->createUser($name, $password); - $this->registerMount($name, '\OC\Files\Storage\Temporary', '/' . $name); + $tmpFolder = \OC::$server->getTempManager()->getTemporaryFolder(); + $this->registerMount($name, '\OC\Files\Storage\Local', '/' . $name, ['datadir' => $tmpFolder]); $this->loginAsUser($name); return new View('/' . $name . '/files'); } |