mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
typo and actually have Gamma comment check use gamma, not alpha
This commit is contained in:
parent
7bd3b20ae0
commit
7dfb6ee0f4
1 changed files with 2 additions and 2 deletions
|
@ -601,8 +601,8 @@ test("Report a comment", async () => {
|
|||
// For the sake of completeness, also confirm Gamma has the comment before later checking if reported.
|
||||
// This raises an issue with replication design: gamma has only resolved the comment, it did not have anyone subscribe and join that community.
|
||||
// Or is that automatically done by beforeAll function?
|
||||
// Should this test be using nore normal getComments instead of resolveComment?
|
||||
let gammaCommentRes = await resolveComment(alpha, commentRes);
|
||||
// Should this test be using more normal getComments instead of resolveComment?
|
||||
let gammaCommentRes = await resolveComment(gamma, commentRes);
|
||||
// ToDo: this does not check for JSON { error: "message" }
|
||||
expect(gammaCommentRes?.comment?.comment).toBeDefined();
|
||||
|
||||
|
|
Loading…
Reference in a new issue