|
|
|
|
@ -41,7 +41,7 @@ trait MountProviderTrait {
|
|
|
|
|
|
|
|
|
|
protected function setUpMountProviderTrait() {
|
|
|
|
|
$this->storageFactory = new StorageFactory();
|
|
|
|
|
$this->mountProvider = $this->getMock('\OCP\Files\Config\IMountProvider');
|
|
|
|
|
$this->mountProvider = $this->getMockBuilder('\OCP\Files\Config\IMountProvider')->getMock();
|
|
|
|
|
$this->mountProvider->expects($this->any())
|
|
|
|
|
->method('getMountsForUser')
|
|
|
|
|
->will($this->returnCallback(function (IUser $user) {
|
|
|
|
|
|