diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-10-26 16:02:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 16:02:01 +0200 |
commit | c25b694fcafa3138d78645f81cc6ecd1d34d1656 (patch) | |
tree | fa1bebe361ee81a1c3e8ead10263af65610f6d97 /tests/lib/Encryption/Keys/StorageTest.php | |
parent | 06f46bd25614c080b75558e8372124142906d977 (diff) | |
parent | c733cdaa65ea473b848fb8329674145f54c1277b (diff) | |
download | nextcloud-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/StorageTest.php')
-rw-r--r-- | tests/lib/Encryption/Keys/StorageTest.php | 3 |
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(); |