0.32.0: Programmteile abschaltbar, Startbildschirm-Symbol (erste Serverversion)
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-10-23 06:34:19 +00:00
parent 0bfda30c69
commit 9ccb87f79f
17 changed files with 118 additions and 18 deletions

View File

@@ -379,6 +379,13 @@ describe.skipIf(!url)("Projektordner in der Nextcloud über die API", () => {
// Passwörter gibt es in der Testversion nicht
expect((await app.inject({ method: "PATCH", url: `/api/benutzer/${r.json().id}`, payload: { passwort: "geheim123" } })).statusCode).toBe(400);
});
it("Programmteile: die Sitzung sagt, welche eingeschaltet sind", async () => {
expect((await app.inject("/api/sitzung")).json().module).toEqual({ angebote: true, zeiterfassung: true, stundensaetze: true, jahresplanung: true });
const e = (await app.inject("/api/einstellungen")).json();
const r = await app.inject({ method: "PUT", url: "/api/einstellungen", payload: { ...e, module: { ...e.module, angebote: false, zeiterfassung: false } } });
expect(r.statusCode, r.body).toBe(200);
expect((await app.inject("/api/sitzung")).json().module).toMatchObject({ angebote: false, zeiterfassung: false, stundensaetze: true });
});
});
describe.skipIf(!url)("Nextcloud-Zugang über die Maske unter Daten", () => {