mirror of https://github.com/LemmyNet/lemmy.git
Trying again.
parent
179709cc09
commit
4997d4b0b5
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue