Fix auth mock in tests

Add missing /api/v1/auth/status mock to MSW handlers to prevent
network errors during frontend tests
This commit is contained in:
maziggy
2026-01-27 11:23:23 +01:00
parent cdf52a6a28
commit d6dcc7656d
+11
View File
@@ -269,6 +269,17 @@ export const handlers = [
return HttpResponse.json(body);
}),
// ========================================================================
// Auth
// ========================================================================
http.get('/api/v1/auth/status', () => {
return HttpResponse.json({
auth_enabled: false,
requires_setup: false,
});
}),
// ========================================================================
// Version / Health
// ========================================================================