@@ -168,7 +168,7 @@ public function testIndex(): void {
168
168
$ account1 = $ this ->createMock (Account::class);
169
169
$ account2 = $ this ->createMock (Account::class);
170
170
$ mailbox = $ this ->createMock (Mailbox::class);
171
- $ this ->preferences ->expects ($ this ->exactly (10 ))
171
+ $ this ->preferences ->expects ($ this ->exactly (11 ))
172
172
->method ('getPreference ' )
173
173
->willReturnMap ([
174
174
[$ this ->userId , 'account-settings ' , '[] ' , json_encode ([])],
@@ -179,6 +179,7 @@ public function testIndex(): void {
179
179
[$ this ->userId , 'search-priority-body ' , 'false ' , 'false ' ],
180
180
[$ this ->userId , 'start-mailbox-id ' , null , '123 ' ],
181
181
[$ this ->userId , 'layout-mode ' , 'vertical-split ' , 'vertical-split ' ],
182
+ [$ this ->userId , 'layout-message-view ' , 'threaded ' , 'threaded ' ],
182
183
[$ this ->userId , 'follow-up-reminders ' , 'true ' , 'true ' ],
183
184
[$ this ->userId , 'internal-addresses ' , 'false ' , 'false ' ],
184
185
]);
@@ -257,17 +258,19 @@ public function testIndex(): void {
257
258
['version ' , '0.0.0 ' , '26.0.0 ' ],
258
259
['app.mail.attachment-size-limit ' , 0 , 123 ],
259
260
]);
260
- $ this ->config ->expects ($ this ->exactly (6 ))
261
+ $ this ->config ->expects ($ this ->exactly (7 ))
261
262
->method ('getAppValue ' )
262
263
->withConsecutive (
263
264
[ 'mail ' , 'installed_version ' ],
265
+ ['mail ' , 'layout_message_view ' ],
264
266
['mail ' , 'google_oauth_client_id ' ],
265
267
['mail ' , 'microsoft_oauth_client_id ' ],
266
268
['mail ' , 'microsoft_oauth_tenant_id ' ],
267
269
['core ' , 'backgroundjobs_mode ' , 'ajax ' ],
268
270
['mail ' , 'allow_new_mail_accounts ' , 'yes ' ],
269
271
)->willReturnOnConsecutiveCalls (
270
272
$ this ->returnValue ('1.2.3 ' ),
273
+ $ this ->returnValue ('threaded ' ),
271
274
$ this ->returnValue ('' ),
272
275
$ this ->returnValue ('' ),
273
276
$ this ->returnValue ('' ),
@@ -321,6 +324,7 @@ public function testIndex(): void {
321
324
'tag-classified-messages ' => 'false ' ,
322
325
'search-priority-body ' => 'false ' ,
323
326
'layout-mode ' => 'vertical-split ' ,
327
+ 'layout-message-view ' => 'threaded ' ,
324
328
'follow-up-reminders ' => 'true ' ,
325
329
]],
326
330
['prefill_displayName ' , 'Jane Doe ' ],
0 commit comments