Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-12-21 20:23:35 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-03-01 18:47:55 +0300
commit740936a0427e8d8b1c333863cda6eb3aaf7b9c0b (patch)
tree9237889d76008569d4b89a33f35cd1924c0e0211 /tests
parent42d9bfb0e583a49764524b55f09042290580811e (diff)
Add bottom reply mode
Adds a simple switch to let the user add their reply text on the bottom instead of on top of the quoted message. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Controller/PageControllerTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Unit/Controller/PageControllerTest.php b/tests/Unit/Controller/PageControllerTest.php
index b7d9e2a92..f442c929e 100644
--- a/tests/Unit/Controller/PageControllerTest.php
+++ b/tests/Unit/Controller/PageControllerTest.php
@@ -120,10 +120,11 @@ class PageControllerTest extends TestCase {
$account1 = $this->createMock(Account::class);
$account2 = $this->createMock(Account::class);
$mailbox = $this->createMock(Mailbox::class);
- $this->preferences->expects($this->exactly(3))
+ $this->preferences->expects($this->exactly(4))
->method('getPreference')
->willReturnMap([
['external-avatars', 'true', 'true'],
+ ['reply-mode', 'top', 'bottom'],
['collect-data', 'true', 'true'],
['account-settings', json_encode([]), json_encode([])],
]);
@@ -229,6 +230,7 @@ class PageControllerTest extends TestCase {
'debug' => true,
'attachment-size-limit' => 123,
'external-avatars' => 'true',
+ 'reply-mode' => 'bottom',
'app-version' => '1.2.3',
'accounts' => base64_encode(json_encode($accountsJson)),
'collect-data' => 'true',