Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

resolve git leaks error

Francis Caoc411c2043f5a
diff --git a/src/lib/mcp/auth.test.ts b/src/lib/mcp/auth.test.ts
index d8d1df9d4..31e894fb6 100644
--- a/src/lib/mcp/auth.test.ts
+++ b/src/lib/mcp/auth.test.ts
@@ -34,7 +34,7 @@ describe('authenticateMcpRequest', () => {
expect(response.headers.get('cache-control')).toBe('no-store');
});
- test.each(['not-a-token', 'eyJhbGciOiJIUzI1NiJ9.eyJ0eXBlIjoib2F1dGhfYWNjZXNzIn0.signature'])(
+ test.each(['not-a-token', 'not-a-key'])(
'rejects non-API-key credentials: %s',
async token => {
await expect(authenticateMcpRequest(request(token))).resolves.toMatchObject({