Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-05 11:55:28 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-05 11:57:22 +0300
commit81c28d4bc29cab74a2773f0263f7050896db8c09 (patch)
tree0fc4238e94be40592288e712a34a5976fc5fae85 /tests/Integration
parent46605fd85835ad289be2fe46b73349751f68205b (diff)
Migrate remaining usage of ILogger to the PSR logger interface
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Integration')
-rw-r--r--tests/Integration/Service/MailTransmissionIntegrationTest.php5
1 files changed, 3 insertions, 2 deletions
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)
);
}