summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/WebhookTestService.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/backend/src/core/WebhookTestService.ts')
-rw-r--r--packages/backend/src/core/WebhookTestService.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/backend/src/core/WebhookTestService.ts b/packages/backend/src/core/WebhookTestService.ts
index 8c1508df24..7c85a32427 100644
--- a/packages/backend/src/core/WebhookTestService.ts
+++ b/packages/backend/src/core/WebhookTestService.ts
@@ -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.',