summaryrefslogtreecommitdiffstats
path: root/apps/encryption/tests/Controller/RecoveryControllerTest.php
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 /apps/encryption/tests/Controller/RecoveryControllerTest.php
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 'apps/encryption/tests/Controller/RecoveryControllerTest.php')
-rw-r--r--apps/encryption/tests/Controller/RecoveryControllerTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/encryption/tests/Controller/RecoveryControllerTest.php b/apps/encryption/tests/Controller/RecoveryControllerTest.php
index 384cce94c42..7ab3bc7eebb 100644
--- a/apps/encryption/tests/Controller/RecoveryControllerTest.php
+++ b/apps/encryption/tests/Controller/RecoveryControllerTest.php
@@ -26,6 +26,7 @@ namespace OCA\Encryption\Tests\Controller;
use OCA\Encryption\Controller\RecoveryController;
+use OCA\Encryption\Recovery;
use OCP\AppFramework\Http;
use OCP\IConfig;
use OCP\IL10N;
@@ -171,7 +172,7 @@ class RecoveryControllerTest extends TestCase {
->method('t')
->willReturnArgument(0);
- $this->recoveryMock = $this->getMockBuilder('OCA\Encryption\Recovery')
+ $this->recoveryMock = $this->getMockBuilder(Recovery::class)
->disableOriginalConstructor()
->getMock();