diff options
Diffstat (limited to 'tests/Integration')
-rw-r--r-- | tests/Integration/Framework/ImapTestAccount.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Integration/Framework/ImapTestAccount.php b/tests/Integration/Framework/ImapTestAccount.php index c87db9dbe..0189884e1 100644 --- a/tests/Integration/Framework/ImapTestAccount.php +++ b/tests/Integration/Framework/ImapTestAccount.php @@ -26,6 +26,7 @@ use OCA\Mail\Account; use OCA\Mail\Db\MailAccount; use OCA\Mail\IMAP\MailboxSync; use OCA\Mail\Service\AccountService; +use Psr\Log\NullLogger; trait ImapTestAccount { @@ -63,7 +64,7 @@ trait ImapTestAccount { /** @var MailboxSync $mbSync */ $mbSync = OC::$server->query(MailboxSync::class); - $mbSync->sync(new Account($mailAccount)); + $mbSync->sync(new Account($mailAccount), new NullLogger()); return $acc; } |