Skip to content

Commit

Permalink
fixup! feat(ocs): notify of new messages and provide API endpoint to …
Browse files Browse the repository at this point in the history
…retrieve its contents
  • Loading branch information
miaulalala committed Jul 10, 2024
1 parent 6d31d70 commit 81c8b87
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions tests/Unit/Controller/MessageApiControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
use OCA\Mail\Service\OutboxService;
use OCA\Mail\Service\Search\MailSearch;
use OCA\Mail\Service\TrustedSenderService;
use OCP\AppFramework\Db\DoesNotExistException;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\Utility\ITimeFactory;
Expand Down Expand Up @@ -207,17 +206,17 @@ public function getDataProvider(): array {
$smime2->setIsSigned(true);
$smime2->setSignatureIsValid(true);
return [
[
'encrypted' => false,
'signed' => false,
'json' => [
'attachments' => [],
'id' => $this->messageId,
'isSenderTrusted' => false,
'smime' => new SmimeData(),
'rawUrl' => 'http://rawUrl',
]
],
[
'encrypted' => false,
'signed' => false,
'json' => [
'attachments' => [],
'id' => $this->messageId,
'isSenderTrusted' => false,
'smime' => new SmimeData(),
'rawUrl' => 'http://rawUrl',
]
],
[
'encrypted' => true,
'signed' => false,
Expand Down

0 comments on commit 81c8b87

Please sign in to comment.