feat: Add LDP request logging.

This commit is contained in:
Ruben Verborgh
2020-12-01 20:00:21 +01:00
parent 0cfa4da210
commit 535cbcd93a
2 changed files with 23 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ describe('An AuthenticatedLdpHandler', (): void => {
let responseFn: jest.Mock<Promise<void>, [any]>;
beforeEach(async(): Promise<void> => {
const requestParser: RequestParser = new StaticAsyncHandler(true, 'parser' as any);
const requestParser: RequestParser = new StaticAsyncHandler(true, ({ target: 'target' }) as any);
const credentialsExtractor: CredentialsExtractor = new StaticAsyncHandler(true, 'credentials' as any);
const permissionsExtractor: PermissionsExtractor = new StaticAsyncHandler(true, 'permissions' as any);
const authorizer: Authorizer = new StaticAsyncHandler(true, 'authorizer' as any);