test: follow the qol sweep in the e2e schemas and the assertions it changed

The hand-written e2e schemas gain the new columns and place_regions, and the
unit assertions take the new arguments and fields. The Public API page names
GET /api/auth/app-config for the running version.
This commit is contained in:
Maurice
2026-09-30 23:28:14 +02:00
parent 8fd46c4c18
commit f5103d04e0
19 changed files with 56 additions and 223 deletions
@@ -236,7 +236,7 @@ describe('addon-gated domains validate their input', () => {
const toggleCompanyHoliday = vi.fn(() => ({}));
const host = build({ vacay: { toggleCompanyHoliday } });
await host.dispatch(req('vacay.toggleCompanyHoliday', { date: '2027-01-01' }), 42);
expect(toggleCompanyHoliday).toHaveBeenCalledWith(1, '2027-01-01', undefined, undefined);
expect(toggleCompanyHoliday).toHaveBeenCalledWith(1, '2027-01-01', undefined, undefined, undefined);
});
it('ADDONERR-010e a collab message without a replyTo passes null', async () => {