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