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:
Linus Rath
2026-11-02 23:56:35 +01:00
parent d5c558d747
commit 0fb8f44cc4
@@ -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,
});
});