fix WebhookTestService again

This commit is contained in:
Hazelnoot 2025-05-28 02:19:30 -04:00
parent 82ec78ef73
commit f17e464188

View file

@ -77,6 +77,7 @@ function generateDummyUser(override?: Partial<MiUser>): MiUser {
mandatoryCW: null,
rejectQuotes: false,
allowUnsignedFetch: 'staff',
userProfile: null,
attributionDomains: [],
...override,
};
@ -363,10 +364,15 @@ export class WebhookTestService {
id: 'dummy-abuse-report1',
targetUserId: 'dummy-target-user',
targetUser: null,
targetUserProfile: null,
targetUserInstance: null,
reporterId: 'dummy-reporter-user',
reporter: null,
reporterProfile: null,
reporterInstance: null,
assigneeId: null,
assignee: null,
assigneeProfile: null,
resolved: false,
forwarded: false,
comment: 'This is a dummy report for testing purposes.',