From f297bf14f9c91cc6d3e4a6df340b4bc24d85c2a7 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 3 Jun 2014 11:34:48 +0200 Subject: Fix unit tests --- tests/lib/files/utils/scanner.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/lib/files/utils') diff --git a/tests/lib/files/utils/scanner.php b/tests/lib/files/utils/scanner.php index 4610e2b4d46..267fc63302d 100644 --- a/tests/lib/files/utils/scanner.php +++ b/tests/lib/files/utils/scanner.php @@ -42,6 +42,7 @@ class Scanner extends \PHPUnit_Framework_TestCase { public function testReuseExistingRoot() { $storage = new Temporary(array()); $mount = new Mount($storage, ''); + Filesystem::getMountManager()->addMount($mount); $cache = $storage->getCache(); $storage->mkdir('folder'); @@ -63,6 +64,7 @@ class Scanner extends \PHPUnit_Framework_TestCase { public function testReuseExistingFile() { $storage = new Temporary(array()); $mount = new Mount($storage, ''); + Filesystem::getMountManager()->addMount($mount); $cache = $storage->getCache(); $storage->mkdir('folder'); -- cgit v1.2.3