diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-02 10:29:05 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-09-06 09:29:27 +0200 |
commit | 0c154c1ed779ccd68ea67e3528fad36ad6ac9b34 (patch) | |
tree | 05a9f0d94c8730ed6de352b91a8db72c72ca957f /apps/encryption/tests/Users | |
parent | 831179971cf2d693cc09e4a216387d107567a47e (diff) | |
download | nextcloud-server-0c154c1ed779ccd68ea67e3528fad36ad6ac9b34.tar.gz nextcloud-server-0c154c1ed779ccd68ea67e3528fad36ad6ac9b34.zip |
Fix getMock encryption
Diffstat (limited to 'apps/encryption/tests/Users')
-rw-r--r-- | apps/encryption/tests/Users/SetupTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/encryption/tests/Users/SetupTest.php b/apps/encryption/tests/Users/SetupTest.php index 252092f9e5e..9e856861046 100644 --- a/apps/encryption/tests/Users/SetupTest.php +++ b/apps/encryption/tests/Users/SetupTest.php @@ -27,6 +27,7 @@ namespace OCA\Encryption\Tests\Users; use OCA\Encryption\Users\Setup; +use OCP\ILogger; use Test\TestCase; class SetupTest extends TestCase { @@ -45,7 +46,7 @@ class SetupTest extends TestCase { protected function setUp() { parent::setUp(); - $logMock = $this->getMock('OCP\ILogger'); + $logMock = $this->createMock(ILogger::class); $userSessionMock = $this->getMockBuilder('OCP\IUserSession') ->disableOriginalConstructor() ->getMock(); |