Skip to content

Commit

Permalink
fixup! feat: per account imap and smtp debugging
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <[email protected]>
  • Loading branch information
SebastianKrupinski committed Nov 5, 2024
1 parent 29e8e0b commit 97a09c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/Db/MailAccountTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function testToAPI() {
'snoozeMailboxId' => null,
'searchBody' => false,
'outOfOfficeFollowsSystem' => true,
'debug' => 0,
'debug' => '',
], $a->toJson());
}

Expand Down Expand Up @@ -108,7 +108,7 @@ public function testMailAccountConstruct() {
'snoozeMailboxId' => null,
'searchBody' => false,
'outOfOfficeFollowsSystem' => false,
'debug' => 0,
'debug' => '',
];
$a = new MailAccount($expected);
// TODO: fix inconsistency
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/Framework/ImapTestAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function createTestAccount(?string $userId = null) {
$mailAccount->setOutboundUser('[email protected]');
$mailAccount->setOutboundPassword(OC::$server->getCrypto()->encrypt('mypassword'));
$mailAccount->setOutboundSslMode('none');
$mailAccount->setDebug(1);
$mailAccount->setDebug('imap');
$acc = $accountService->save($mailAccount);

/** @var MailboxSync $mbSync */
Expand Down

0 comments on commit 97a09c0

Please sign in to comment.