feat(api): add redacted audit read endpoints
This commit is contained in:
@@ -46,6 +46,9 @@ describe('buildControlPlaneApp', () => {
|
||||
const jobs = await app.inject({ method: 'GET', url: '/api/v1/jobs' });
|
||||
expect(jobs.statusCode).toBe(200);
|
||||
expect(jobs.json()).toEqual({ items: [], page: { page: 1, pageSize: 25, total: 0 } });
|
||||
const audit = await app.inject({ method: 'GET', url: '/api/v1/audit' });
|
||||
expect(audit.statusCode).toBe(200);
|
||||
expect(audit.json()).toEqual({ items: [], page: { page: 1, pageSize: 25, total: 0 } });
|
||||
await app.close();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user