Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-11-22 17:27:06 +0300
committerVincent Petry <pvince81@owncloud.com>2016-11-22 17:27:06 +0300
commit8d6a7b756ba5dd8dc7379589962d6fbd8231ee90 (patch)
tree4724a72b4252ebe6a9e5a4c79882e2bf5e894696 /tests
parent556eb1d29f242da29c53dc6b8ac573b66acf77e1 (diff)
Fix shared storage name in test mock
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/Utils/ScannerTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/Files/Utils/ScannerTest.php b/tests/lib/Files/Utils/ScannerTest.php
index bcc115c6caa..a71005cdec3 100644
--- a/tests/lib/Files/Utils/ScannerTest.php
+++ b/tests/lib/Files/Utils/ScannerTest.php
@@ -189,7 +189,9 @@ class ScannerTest extends \Test\TestCase {
}
public function testSkipLocalShares() {
- $sharedStorage = $this->getMock('OCA\Files_Sharing\SharedStorage');
+ $sharedStorage = $this->getMockBuilder('OC\Files\Storage\Shared')
+ ->disableOriginalConstructor()
+ ->getMock();
$sharedMount = new MountPoint($sharedStorage, '/share');
Filesystem::getMountManager()->addMount($sharedMount);