mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Full rework of account management
Complete rewrite of the account management and related systems. Makes the architecture more modular, allowing for easier extensions and configurations.
This commit is contained in:
@@ -37,7 +37,7 @@ describe('A WebhookChannel2023Type', (): void => {
|
||||
let data: Store;
|
||||
let channel: WebhookChannel2023;
|
||||
const route = new AbsolutePathInteractionRoute('http://example.com/webhooks/');
|
||||
const webIdRoute = new RelativePathInteractionRoute(route, '/webid');
|
||||
const webIdRoute = new RelativePathInteractionRoute(route, '/webid', false);
|
||||
let stateHandler: jest.Mocked<StateHandler>;
|
||||
let channelType: WebhookChannel2023Type;
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ describe('A WebhookEmitter', (): void => {
|
||||
const fetchMock: jest.Mock = fetch as any;
|
||||
const baseUrl = 'http://example.com/';
|
||||
const serverWebId = 'http://example.com/.notifcations/webhooks/webid';
|
||||
const webIdRoute = new AbsolutePathInteractionRoute(serverWebId);
|
||||
const webIdRoute = new AbsolutePathInteractionRoute(serverWebId, false);
|
||||
const notification: Notification = {
|
||||
'@context': [
|
||||
'https://www.w3.org/ns/activitystreams',
|
||||
|
||||
Reference in New Issue
Block a user