DasUnicorn / WordWeave

Reddit style news site
0 stars 1 forks source link

User Story: Unittest - UniqueCommentVoteTest #76

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 ensure that I can only upvote or downvote a comment once, so that the voting system remains fair and accurate.

Acceptance Criteria:

DasUnicorn commented 6 months ago

Testing:

When I upvote a comment, its vote count should increase by 1. --> done
When I attempt to upvote the same comment again, the previous vote should be removed, and the vote count should return to 0. --> done

---> done