aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Encryption/Keys
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-10-26 16:02:01 +0200
committerGitHub <noreply@github.com>2017-10-26 16:02:01 +0200
commitc25b694fcafa3138d78645f81cc6ecd1d34d1656 (patch)
treefa1bebe361ee81a1c3e8ead10263af65610f6d97 /tests/lib/Encryption/Keys
parent06f46bd25614c080b75558e8372124142906d977 (diff)
parentc733cdaa65ea473b848fb8329674145f54c1277b (diff)
downloadnextcloud-server-c25b694fcafa3138d78645f81cc6ecd1d34d1656.tar.gz
nextcloud-server-c25b694fcafa3138d78645f81cc6ecd1d34d1656.zip
Merge pull request #6970 from nextcloud/class-usage-in-mocks-encryption-app
Use ::class in test mocks of encryption app
Diffstat (limited to 'tests/lib/Encryption/Keys')
-rw-r--r--tests/lib/Encryption/Keys/StorageTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Encryption/Keys/StorageTest.php b/tests/lib/Encryption/Keys/StorageTest.php
index a5924d1dc88..cd8f1e9b953 100644
--- a/tests/lib/Encryption/Keys/StorageTest.php
+++ b/tests/lib/Encryption/Keys/StorageTest.php
@@ -24,6 +24,7 @@
namespace Test\Encryption\Keys;
use OC\Encryption\Keys\Storage;
+use OC\Files\View;
use OCP\IConfig;
use Test\TestCase;
@@ -48,7 +49,7 @@ class StorageTest extends TestCase {
->disableOriginalConstructor()
->getMock();
- $this->view = $this->getMockBuilder('OC\Files\View')
+ $this->view = $this->getMockBuilder(View::class)
->disableOriginalConstructor()
->getMock();