mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 01:41:01 +00:00
Trying again.
This commit is contained in:
parent
179709cc09
commit
4997d4b0b5
2 changed files with 3 additions and 0 deletions
|
@ -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 a new issue