Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up-voting an already down-voted requirement does not work #142

Open
fxjordan opened this issue Feb 22, 2022 · 0 comments
Open

Up-voting an already down-voted requirement does not work #142

fxjordan opened this issue Feb 22, 2022 · 0 comments
Assignees
Labels

Comments

@fxjordan
Copy link
Contributor

Steps to reproduce:

  1. Select a requirement without votes
  2. Do a POST with direction='up' on /bazaar/requirements/842
  3. observe that there is one up vote
  4. Do a POST with direction='down' on /bazaar/requirements/842
  5. observe that there is now one down vote and no up vote
  6. Again, do a POST with direction='up' on /bazaar/requirements/842
  7. Expected would be: 1 up vote, 0 down votes. But, we have 0 up votes, 1 down vote
@fxjordan fxjordan added the bug label Feb 22, 2022
@fxjordan fxjordan self-assigned this Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant