Merge remote-tracking branch 'origin/release/0.14' into feat/uuid

# Conflicts:
#	app/tsconfig.json
#	bun.lock
This commit is contained in:
dswbx
2025-06-07 09:38:59 +02:00
26 changed files with 519 additions and 148 deletions

View File

@@ -153,6 +153,7 @@ describe("AppAuth", () => {
});
await app.build();
app.registerAdminController();
const spy = spyOn(app.module.auth.authenticator, "requestCookieRefresh");
// register custom route
@@ -162,6 +163,10 @@ describe("AppAuth", () => {
await app.server.request("/api/system/ping");
await app.server.request("/test");
expect(spy.mock.calls.length).toBe(0);
// admin route
await app.server.request("/");
expect(spy.mock.calls.length).toBe(1);
});