mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Let Authorizers output an Authorization
This commit is contained in:
@@ -70,7 +70,7 @@ describe('An AuthenticatedLdpHandler', (): void => {
|
||||
});
|
||||
|
||||
it('errors an invalid object was thrown by a handler.', async(): Promise< void> => {
|
||||
args.authorizer.handle = async(): Promise<void> => {
|
||||
args.authorizer.handle = async(): Promise<any> => {
|
||||
throw 'apple';
|
||||
};
|
||||
const handler = new AuthenticatedLdpHandler(args);
|
||||
|
||||
Reference in New Issue
Block a user