mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-27 13:53:09 +02:00
Update activitypub.ts
This commit is contained in:
parent
bdbad4605b
commit
26040c2bb0
1 changed files with 2 additions and 1 deletions
|
@ -265,6 +265,7 @@ describe('ActivityPub', () => {
|
|||
assert.strictEqual(note.text, 'test test foo');
|
||||
assert.strictEqual(note.uri, actor2Note.id);
|
||||
});
|
||||
});
|
||||
|
||||
describe('Outbox', () => {
|
||||
test('Fetch non-paged outbox from IActor', async () => {
|
||||
|
@ -315,6 +316,6 @@ describe('ActivityPub', () => {
|
|||
const items = outbox.orderedItems as ICreate[];
|
||||
assert.ok(await noteService.fetchNote(items[19].object));
|
||||
assert.ok(!await noteService.fetchNote(items[20].object));
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue