diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-10-26 13:26:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 13:26:00 +0200 |
commit | 06f46bd25614c080b75558e8372124142906d977 (patch) | |
tree | 042b47969c82ef217c87c18ae34d8856468007e1 /tests/lib/Encryption | |
parent | a9f78856b55584d5a40c731adc6f6fb188f261dd (diff) | |
parent | 3f107e59dd50bcd427d867856e67dd827ea62547 (diff) | |
download | nextcloud-server-06f46bd25614c080b75558e8372124142906d977.tar.gz nextcloud-server-06f46bd25614c080b75558e8372124142906d977.zip |
Merge pull request #6939 from nextcloud/class-usage-in-mocks-dav-app
Use ::class in test mocks of dav app
Diffstat (limited to 'tests/lib/Encryption')
-rw-r--r-- | tests/lib/Encryption/UpdateTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Encryption/UpdateTest.php b/tests/lib/Encryption/UpdateTest.php index ccd2bb796fc..a8cbef70d75 100644 --- a/tests/lib/Encryption/UpdateTest.php +++ b/tests/lib/Encryption/UpdateTest.php @@ -24,6 +24,7 @@ namespace Test\Encryption; use OC\Encryption\Update; +use OC\Files\Mount\Manager; use OC\Files\View; use Test\TestCase; @@ -60,7 +61,7 @@ class UpdateTest extends TestCase { ->disableOriginalConstructor()->getMock(); $this->util = $this->getMockBuilder('\OC\Encryption\Util') ->disableOriginalConstructor()->getMock(); - $this->mountManager = $this->getMockBuilder('\OC\Files\Mount\Manager') + $this->mountManager = $this->getMockBuilder(Manager::class) ->disableOriginalConstructor()->getMock(); $this->encryptionManager = $this->getMockBuilder('\OC\Encryption\Manager') ->disableOriginalConstructor()->getMock(); |