diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-12-21 20:23:35 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-03-01 18:47:55 +0300 |
commit | 740936a0427e8d8b1c333863cda6eb3aaf7b9c0b (patch) | |
tree | 9237889d76008569d4b89a33f35cd1924c0e0211 /tests | |
parent | 42d9bfb0e583a49764524b55f09042290580811e (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.php | 4 |
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', |