Use dummy backend in test

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/17765/head
Roeland Jago Douma 7 years ago
parent a184e350d7
commit 1bd688a9d1
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 1
      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('/');

Loading…
Cancel
Save