Skip to content

Commit

Permalink
fixup! Add full width for mailing list
Browse files Browse the repository at this point in the history
Signed-off-by: greta <[email protected]>
  • Loading branch information
GretaD committed Mar 12, 2024
1 parent 1dd4f47 commit 9a78080
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Unit/Controller/PageControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function testIndex(): void {
$account1 = $this->createMock(Account::class);
$account2 = $this->createMock(Account::class);
$mailbox = $this->createMock(Mailbox::class);
$this->preferences->expects($this->exactly(8))
$this->preferences->expects($this->exactly(9))
->method('getPreference')
->willReturnMap([
[$this->userId, 'account-settings', '[]', json_encode([])],
Expand All @@ -179,6 +179,7 @@ public function testIndex(): void {
[$this->userId, 'search-priority-body', 'false', 'false'],
[$this->userId, 'start-mailbox-id', null, '123'],
[$this->userId, 'tag-classified-messages', 'true', 'true'],
[$this->userId, 'layout-mode', 'vertical-split', 'vertical-split'],
]);
$this->accountService->expects($this->once())
->method('findByUserId')
Expand Down Expand Up @@ -323,6 +324,7 @@ public function testIndex(): void {
'start-mailbox-id' => '123',
'tag-classified-messages' => 'true',
'search-priority-body' => 'false',
'layout-mode' => 'vertical-split',
]);
$csp = new ContentSecurityPolicy();
$csp->addAllowedFrameDomain('\'self\'');
Expand Down

0 comments on commit 9a78080

Please sign in to comment.