Trying again.

pull/1335/head
Dessalines 2020-12-17 14:23:15 -05:00
parent 179709cc09
commit 4997d4b0b5
2 changed files with 3 additions and 0 deletions

View File

@ -356,4 +356,6 @@ test('Fetch in_reply_tos: A is unsubbed from B, B makes a post, and some embedde
assertCommentFederation(alphaPost.comments[0], updateRes.comment); assertCommentFederation(alphaPost.comments[0], updateRes.comment);
expect(alphaPost.post.community_local).toBe(false); expect(alphaPost.post.community_local).toBe(false);
expect(alphaPost.post.creator_local).toBe(false); expect(alphaPost.post.creator_local).toBe(false);
await unfollowRemotes(alpha);
}); });

View File

@ -201,6 +201,7 @@ test('Lock a post', async () => {
test('Delete a post', async () => { test('Delete a post', async () => {
let postRes = await createPost(alpha, betaCommunity.id); let postRes = await createPost(alpha, betaCommunity.id);
expect(postRes.post).toBeDefined();
let deletedPost = await deletePost(alpha, true, postRes.post); let deletedPost = await deletePost(alpha, true, postRes.post);
expect(deletedPost.post.deleted).toBe(true); expect(deletedPost.post.deleted).toBe(true);