fix fed-tests
This commit is contained in:
parent
64133d7e01
commit
c935e0c4ed
|
@ -35,7 +35,7 @@ describe('Abuse report', () => {
|
||||||
const reportsInB = await bModerator.client.request('admin/abuse-user-reports', {});
|
const reportsInB = await bModerator.client.request('admin/abuse-user-reports', {});
|
||||||
const reportInB = reportsInB.filter(report => report.comment.includes(comment))[0];
|
const reportInB = reportsInB.filter(report => report.comment.includes(comment))[0];
|
||||||
// NOTE: reporter is not Alice, and is not moderator in A
|
// 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);
|
strictEqual(reportInB.targetUserId, bob.id);
|
||||||
|
|
||||||
// NOTE: cannot forward multiple times
|
// NOTE: cannot forward multiple times
|
||||||
|
|
|
@ -37,6 +37,7 @@ describe('User', () => {
|
||||||
'id',
|
'id',
|
||||||
'host',
|
'host',
|
||||||
'avatarUrl',
|
'avatarUrl',
|
||||||
|
'avatarBlurhash',
|
||||||
'instance',
|
'instance',
|
||||||
'badgeRoles',
|
'badgeRoles',
|
||||||
'url',
|
'url',
|
||||||
|
|
Loading…
Reference in New Issue