summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/service/storagesservicetest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/service/storagesservicetest.php')
-rw-r--r--apps/files_external/tests/service/storagesservicetest.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_external/tests/service/storagesservicetest.php b/apps/files_external/tests/service/storagesservicetest.php
index 710d804fd39..68671b599bd 100644
--- a/apps/files_external/tests/service/storagesservicetest.php
+++ b/apps/files_external/tests/service/storagesservicetest.php
@@ -76,6 +76,11 @@ abstract class StoragesServiceTest extends \Test\TestCase {
*/
protected static $hookCalls;
+ /**
+ * @var \PHPUnit_Framework_MockObject_MockObject|\OCP\Files\Config\IUserMountCache
+ */
+ protected $mountCache;
+
public function setUp() {
parent::setUp();
$this->dbConfig = new CleaningDBConfig(\OC::$server->getDatabaseConnection());
@@ -87,6 +92,8 @@ abstract class StoragesServiceTest extends \Test\TestCase {
);
\OC_Mount_Config::$skipTest = true;
+ $this->mountCache = $this->getMock('OCP\Files\Config\IUserMountCache');
+
// prepare BackendService mock
$this->backendService =
$this->getMockBuilder('\OCA\Files_External\Service\BackendService')