summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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');