diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-07-08 09:11:28 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-07-08 19:36:17 +0200 |
commit | c91aebc43793f62445ac14d303b62b205980121e (patch) | |
tree | d1b030934d213bc1960c55f9cfb44ea3e7e885c8 | |
parent | 48f9e4ed03f3148d62919a95496ee43164d3e707 (diff) | |
download | nextcloud-server-c91aebc43793f62445ac14d303b62b205980121e.tar.gz nextcloud-server-c91aebc43793f62445ac14d303b62b205980121e.zip |
Fix phpunit Trait warning
-rw-r--r-- | tests/lib/Traits/MountProviderTrait.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Traits/MountProviderTrait.php b/tests/lib/Traits/MountProviderTrait.php index bccb5b693ee..0437157e84f 100644 --- a/tests/lib/Traits/MountProviderTrait.php +++ b/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) { |