DasUnicorn / WordWeave

Reddit style news site
0 stars 1 forks source link

User Story: Unittest - CommentModelTest #67

Closed DasUnicorn closed 6 months ago

DasUnicorn commented 6 months ago

Dependencies: none

Description Of Service Or Screen: N/A

User Objective: As a user, I want to be able to interact with comments by creating them, upvoting, downvoting, and removing votes, so that I can engage in discussions and express my opinions.

Acceptance Criteria:

DasUnicorn commented 6 months ago

Testing:

When I create a comment on a thread, the comment should be successfully created with zero votes. --> done
When I upvote a comment, the vote count should increase by one and my vote should be registered. --> done
When I downvote a comment, the vote count should decrease by one and my vote should be registered. ---> done
When I remove my upvote from a comment, the vote count should decrease by one and my vote should be removed. --> done
When I remove my downvote from a comment, the vote count should increase by one and my vote should be removed. --> done

--> done