From: Dessalines Date: Thu, 17 Dec 2020 19:23:15 +0000 (-0500) Subject: Trying again. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%7BpictshareAvatarThumbnail%28admin.avatar%29%7D?a=commitdiff_plain;h=4997d4b0b5df8b9f41e0e44ed36e172536ca251d;p=lemmy.git Trying again. --- diff --git a/api_tests/src/comment.spec.ts b/api_tests/src/comment.spec.ts index 693bdaf2..57756a39 100644 --- a/api_tests/src/comment.spec.ts +++ b/api_tests/src/comment.spec.ts @@ -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); expect(alphaPost.post.community_local).toBe(false); expect(alphaPost.post.creator_local).toBe(false); + + await unfollowRemotes(alpha); }); diff --git a/api_tests/src/post.spec.ts b/api_tests/src/post.spec.ts index e35880f4..f44bd586 100644 --- a/api_tests/src/post.spec.ts +++ b/api_tests/src/post.spec.ts @@ -201,6 +201,7 @@ test('Lock a post', async () => { test('Delete a post', async () => { let postRes = await createPost(alpha, betaCommunity.id); + expect(postRes.post).toBeDefined(); let deletedPost = await deletePost(alpha, true, postRes.post); expect(deletedPost.post.deleted).toBe(true);