diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-11-22 17:27:06 +0300 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-11-22 17:27:06 +0300 |
commit | 8d6a7b756ba5dd8dc7379589962d6fbd8231ee90 (patch) | |
tree | 4724a72b4252ebe6a9e5a4c79882e2bf5e894696 /tests | |
parent | 556eb1d29f242da29c53dc6b8ac573b66acf77e1 (diff) |
Fix shared storage name in test mock
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Files/Utils/ScannerTest.php | 4 |
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); |