diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-10-26 13:46:16 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-10-26 13:56:56 +0200 |
commit | c733cdaa65ea473b848fb8329674145f54c1277b (patch) | |
tree | fa1bebe361ee81a1c3e8ead10263af65610f6d97 /apps/encryption/tests/Controller/StatusControllerTest.php | |
parent | 06f46bd25614c080b75558e8372124142906d977 (diff) | |
download | nextcloud-server-c733cdaa65ea473b848fb8329674145f54c1277b.tar.gz nextcloud-server-c733cdaa65ea473b848fb8329674145f54c1277b.zip |
Use ::class in test mocks of encryption app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/encryption/tests/Controller/StatusControllerTest.php')
-rw-r--r-- | apps/encryption/tests/Controller/StatusControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/tests/Controller/StatusControllerTest.php b/apps/encryption/tests/Controller/StatusControllerTest.php index cd3a8fdaa72..d72fcd1ac36 100644 --- a/apps/encryption/tests/Controller/StatusControllerTest.php +++ b/apps/encryption/tests/Controller/StatusControllerTest.php @@ -53,7 +53,7 @@ class StatusControllerTest extends TestCase { parent::setUp(); - $this->sessionMock = $this->getMockBuilder('OCA\Encryption\Session') + $this->sessionMock = $this->getMockBuilder(Session::class) ->disableOriginalConstructor()->getMock(); $this->requestMock = $this->createMock(IRequest::class); |