mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
Merge pull request #4332 from nextcloud/techdebt/noid/use-psr-logger-in-event-dispatcher
EventDispatcher uses PSR Logger now
This commit is contained in:
commit
5491c1accb
1 changed files with 2 additions and 2 deletions
|
|
@ -29,9 +29,9 @@ use OCA\Talk\Room;
|
|||
use OCA\Talk\Webinary;
|
||||
use OCP\AppFramework\Utility\ITimeFactory;
|
||||
use OCP\IDBConnection;
|
||||
use OCP\ILogger;
|
||||
use OCP\Security\IHasher;
|
||||
use OCP\Security\ISecureRandom;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Test\TestCase;
|
||||
|
||||
class RoomTest extends TestCase {
|
||||
|
|
@ -39,7 +39,7 @@ class RoomTest extends TestCase {
|
|||
$dispatcher = new EventDispatcher(
|
||||
new \Symfony\Component\EventDispatcher\EventDispatcher(),
|
||||
\OC::$server,
|
||||
$this->createMock(ILogger::class)
|
||||
$this->createMock(LoggerInterface::class)
|
||||
);
|
||||
$dispatcher->addListener(Room::EVENT_PASSWORD_VERIFY, static function (VerifyRoomPasswordEvent $event) {
|
||||
$password = $event->getPassword();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue