From 81c28d4bc29cab74a2773f0263f7050896db8c09 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 5 Oct 2020 10:55:28 +0200 Subject: Migrate remaining usage of ILogger to the PSR logger interface Signed-off-by: Christoph Wurst --- tests/Integration/Service/MailTransmissionIntegrationTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/Integration') diff --git a/tests/Integration/Service/MailTransmissionIntegrationTest.php b/tests/Integration/Service/MailTransmissionIntegrationTest.php index 9fd2781a2..fad4b3f37 100644 --- a/tests/Integration/Service/MailTransmissionIntegrationTest.php +++ b/tests/Integration/Service/MailTransmissionIntegrationTest.php @@ -43,9 +43,9 @@ use OCA\Mail\SMTP\SmtpClientFactory; use OCA\Mail\Tests\Integration\Framework\ImapTest; use OCA\Mail\Tests\Integration\TestCase; use OCP\EventDispatcher\IEventDispatcher; -use OCP\ILogger; use OCP\IUser; use OCP\Security\ICrypto; +use Psr\Log\LoggerInterface; use Psr\Log\NullLogger; class MailTransmissionIntegrationTest extends TestCase { @@ -93,6 +93,7 @@ class MailTransmissionIntegrationTest extends TestCase { $this->account = new Account($mailAccount); $this->attachmentService = OC::$server->query(IAttachmentService::class); $userFolder = OC::$server->getUserFolder($this->user->getUID()); + $this->transmission = new MailTransmission( $userFolder, $this->attachmentService, @@ -101,7 +102,7 @@ class MailTransmissionIntegrationTest extends TestCase { OC::$server->query(IEventDispatcher::class), OC::$server->query(MailboxMapper::class), OC::$server->query(MessageMapper::class), - OC::$server->query(ILogger::class) + OC::$server->query(LoggerInterface::class) ); } -- cgit v1.2.3