Roeland Jago Douma
9 years ago
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with
1 additions and
1 deletions
-
tests/lib/Traits/MountProviderTrait.php
|
|
|
@ -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) { |
|
|
|
|