0.32.0: Programmteile abschaltbar, Startbildschirm-Symbol (erste Serverversion)
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:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user