fix unit tests

This commit is contained in:
Wells Bunker 2025-09-26 13:37:26 -06:00
parent 72dda21434
commit bf2ab17716
No known key found for this signature in database
GPG Key ID: DB16D6F2679B78FC
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ describe('getDashboardHandler', () => {
});
await expect(getDashboardHandler({ dashboardId: 'dashboard-123' }, mockUser)).rejects.toThrow(
new HTTPException(403, { message: 'Public access has expired' })
new HTTPException(403, { message: 'Public access to this dashboard has expired' })
);
});

View File

@ -345,7 +345,7 @@ describe('metric-helpers', () => {
const options: MetricAccessOptions = { publicAccessPreviouslyVerified: false };
await expect(fetchAndProcessMetricData('metric-123', mockUser, options)).rejects.toThrow(
new HTTPException(403, { message: 'Public access has expired' })
new HTTPException(403, { message: 'Public access expired' })
);
});