Skip to content

Commit

Permalink
fix fed-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samunohito committed Feb 23, 2025
1 parent 64133d7 commit c935e0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/test-federation/test/abuse-report.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Abuse report', () => {
const reportsInB = await bModerator.client.request('admin/abuse-user-reports', {});
const reportInB = reportsInB.filter(report => report.comment.includes(comment))[0];
// NOTE: reporter is not Alice, and is not moderator in A
strictEqual(reportInB.reporter.url, 'https://a.test/@instance.actor');
strictEqual(reportInB.reporter.url, 'https://a.test/@system.actor');
strictEqual(reportInB.targetUserId, bob.id);

// NOTE: cannot forward multiple times
Expand Down
1 change: 1 addition & 0 deletions packages/backend/test-federation/test/user.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('User', () => {
'id',
'host',
'avatarUrl',
'avatarBlurhash',
'instance',
'badgeRoles',
'url',
Expand Down

0 comments on commit c935e0c

Please sign in to comment.