diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-07 20:34:47 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-07 20:42:38 +0200 |
commit | 680b557a4b906c3ef39daa2bd9e8eb1eae80a9d2 (patch) | |
tree | 36347ecd2b95a696c338332111684e4a432a0349 /apps/encryption | |
parent | 835daedbbc6d49f860e6f608496788e8846cc6d8 (diff) | |
download | nextcloud-server-680b557a4b906c3ef39daa2bd9e8eb1eae80a9d2.tar.gz nextcloud-server-680b557a4b906c3ef39daa2bd9e8eb1eae80a9d2.zip |
Fix apps warnings
Diffstat (limited to 'apps/encryption')
-rw-r--r-- | apps/encryption/tests/HookManagerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/encryption/tests/HookManagerTest.php b/apps/encryption/tests/HookManagerTest.php index 1154368fa3f..c5e5487dba5 100644 --- a/apps/encryption/tests/HookManagerTest.php +++ b/apps/encryption/tests/HookManagerTest.php @@ -26,6 +26,7 @@ namespace OCA\Encryption\Tests; use OCA\Encryption\HookManager; +use OCP\IConfig; use Test\TestCase; class HookManagerTest extends TestCase { @@ -42,7 +43,7 @@ class HookManagerTest extends TestCase { self::$instance->registerHook([ $this->getMockBuilder('OCA\Encryption\Hooks\Contracts\IHook')->disableOriginalConstructor()->getMock(), $this->getMockBuilder('OCA\Encryption\Hooks\Contracts\IHook')->disableOriginalConstructor()->getMock(), - $this->getMock('NotIHook') + $this->createMock(IConfig::class) ]); $hookInstances = self::invokePrivate(self::$instance, 'hookInstances'); |