Skip to content

Commit

Permalink
Fix shared storage name in test mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed Nov 22, 2016
1 parent 556eb1d commit 8d6a7b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/lib/Files/Utils/ScannerTest.php
Expand Up @@ -189,7 +189,9 @@ public function testPropagateEtag() {
}

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);

Expand Down

0 comments on commit 8d6a7b7

Please sign in to comment.