mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Make request related handle calls consistent
This commit is contained in:
@@ -74,7 +74,7 @@ describe('A DPoPWebIdExtractor', (): void => {
|
||||
it('calls the target extractor with the correct parameters.', async(): Promise<void> => {
|
||||
await webIdExtractor.handleSafe(request);
|
||||
expect(targetExtractor.handle).toHaveBeenCalledTimes(1);
|
||||
expect(targetExtractor.handle).toHaveBeenCalledWith(request);
|
||||
expect(targetExtractor.handle).toHaveBeenCalledWith({ request });
|
||||
});
|
||||
|
||||
it('calls the DPoP verifier with the correct parameters.', async(): Promise<void> => {
|
||||
|
||||
Reference in New Issue
Block a user