Bassa icon indicating copy to clipboard operation
Bassa copied to clipboard

User endpoint tests

Open carpecodeum opened this issue 5 years ago • 1 comments

Description

Added tests for User endpoints and fixed bug in UserManager.py to allow user to be deleted through the endpoint.

Related Issue #851

Motivation and Context

Tests should be present to allow the project maintainers to know that the endpoints arae working correctly.

How Has This Been Tested?

Screenshot 2020-02-15 at 12 26 07 AM

Screenshots (In case of UI changes):

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [x] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [x] I have added tests to cover my changes.
  • [x] All new and existing tests passed.

carpecodeum avatar Feb 14 '20 19:02 carpecodeum

@JaDogg this is a draft PR. Should I refactor the rest of the tests in the same way? Your inputs are highly welcome.

carpecodeum avatar Feb 14 '20 19:02 carpecodeum