summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-08 16:48:03 +0200
committerJoas Schilling <coding@schilljs.com>2020-10-08 16:52:56 +0200
commit51fbcb08010ee1f5790151a0f8a2aacd523fec30 (patch)
tree43291595155543a42c4f65a07fb87db85e8336f4 /apps/dav/tests/unit
parente10cad4a718422b8b9d19546cc61cb39e4c0ee26 (diff)
downloadnextcloud-server-51fbcb08010ee1f5790151a0f8a2aacd523fec30.tar.gz
nextcloud-server-51fbcb08010ee1f5790151a0f8a2aacd523fec30.zip
Use PSR Logger in event dispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/tests/unit')
-rw-r--r--apps/dav/tests/unit/Comments/RootCollectionTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/Comments/RootCollectionTest.php b/apps/dav/tests/unit/Comments/RootCollectionTest.php
index 8df7dd70dd3..e908daaf3dd 100644
--- a/apps/dav/tests/unit/Comments/RootCollectionTest.php
+++ b/apps/dav/tests/unit/Comments/RootCollectionTest.php
@@ -35,6 +35,7 @@ use OCP\ILogger;
use OCP\IUser;
use OCP\IUserManager;
use OCP\IUserSession;
+use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
class RootCollectionTest extends \Test\TestCase {
@@ -77,7 +78,7 @@ class RootCollectionTest extends \Test\TestCase {
new EventDispatcher(
new \Symfony\Component\EventDispatcher\EventDispatcher(),
\OC::$server,
- $this->logger
+ $this->createMock(LoggerInterface::class)
),
$this->logger
);