mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-03 16:16:59 +00:00
test: expect the out-of-office's forward flag in vacation.get
vacation.get now also says whether the out-of-office forwards mail (forwardActive, from the area c host APIs), so the test that pins the whole answer names it too. The other fields are as they were.
This commit is contained in:
@@ -185,6 +185,8 @@ describe('api.vacation', () => {
|
||||
it('reads the reply', async () => {
|
||||
expect(await call(READ_ONLY, 'vacation.get')).toEqual({
|
||||
isEnabled: true, subject: 'Away', textBody: 'Back in June', htmlBody: '', fromDate: null, toDate: '2026-06-01T00:00:00Z',
|
||||
// No forward is set up for the out-of-office.
|
||||
forwardActive: false,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user