diff options
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(); |