From 4997d4b0b5df8b9f41e0e44ed36e172536ca251d Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 17 Dec 2020 14:23:15 -0500 Subject: [PATCH] Trying again. --- api_tests/src/comment.spec.ts | 2 ++ api_tests/src/post.spec.ts | 1 + 2 files changed, 3 insertions(+) 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); -- 2.44.1