summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-17 10:39:08 +0100
committerJoas Schilling <coding@schilljs.com>2017-03-17 10:39:08 +0100
commit2f16f3ba449bc07d3311d440f1fc0a42d8c1ddcb (patch)
tree3656c2950b1f88a9ba53ebbc804a4d4e27c7b015 /tests
parent7256940524de24dc754678401e1902848bb5b175 (diff)
downloadnextcloud-server-2f16f3ba449bc07d3311d440f1fc0a42d8c1ddcb.tar.gz
nextcloud-server-2f16f3ba449bc07d3311d440f1fc0a42d8c1ddcb.zip
Fix unit test
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/ViewTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/Files/ViewTest.php b/tests/lib/Files/ViewTest.php
index 4cdea59da0d..30def775f0e 100644
--- a/tests/lib/Files/ViewTest.php
+++ b/tests/lib/Files/ViewTest.php
@@ -524,8 +524,7 @@ class ViewTest extends \Test\TestCase {
*/
public function testRmdir($method) {
$storage1 = $this->getTestStorage();
- $storage2 = $this->getTestStorage();
- Filesystem::mount($storage1, [], '/');
+ \OC\Files\Filesystem::mount($storage1, [], '/');
$rootView = new View('');
$rootView->mkdir('sub');