From 51667da1f15c053cfae5f78b1b0eacc4a6b87c17 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 15 Mar 2021 14:24:37 +0100 Subject: Log performance of saving a draft Signed-off-by: Christoph Wurst --- tests/Integration/Service/MailTransmissionIntegrationTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/Integration') diff --git a/tests/Integration/Service/MailTransmissionIntegrationTest.php b/tests/Integration/Service/MailTransmissionIntegrationTest.php index c75441863..8bf24820b 100644 --- a/tests/Integration/Service/MailTransmissionIntegrationTest.php +++ b/tests/Integration/Service/MailTransmissionIntegrationTest.php @@ -42,6 +42,7 @@ use OCA\Mail\Service\AccountService; use OCA\Mail\Service\Attachment\UploadedFile; use OCA\Mail\Service\MailTransmission; use OCA\Mail\SMTP\SmtpClientFactory; +use OCA\Mail\Support\PerformanceLogger; use OCA\Mail\Tests\Integration\Framework\ImapTest; use OCA\Mail\Tests\Integration\TestCase; use OCP\EventDispatcher\IEventDispatcher; @@ -112,7 +113,8 @@ class MailTransmissionIntegrationTest extends TestCase { OC::$server->query(IEventDispatcher::class), OC::$server->query(MailboxMapper::class), OC::$server->query(MessageMapper::class), - OC::$server->query(LoggerInterface::class) + OC::$server->query(LoggerInterface::class), + OC::$server->query(PerformanceLogger::class) ); } -- cgit v1.2.3