mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Make IDP routes independent of handlers
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import {
|
||||
AbsolutePathInteractionRoute,
|
||||
} from '../../../../../src/identity/interaction/routing/AbsolutePathInteractionRoute';
|
||||
|
||||
describe('An AbsolutePathInteractionRoute', (): void => {
|
||||
const path = 'http://example.com/idp/path/';
|
||||
const route = new AbsolutePathInteractionRoute(path);
|
||||
|
||||
it('returns the given path.', async(): Promise<void> => {
|
||||
expect(route.getPath()).toBe('http://example.com/idp/path/');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user