Improve User tests #50

Closed
opened 7 years ago by jking · 1 comments
jking commented 7 years ago
Owner

Testing of the User class is incomplete. Many error conditions are not tested for:

  • Authenticate a missing user (should return false without exceptions)
  • Get properties of a missing user (exception)
  • Set properties of a missing user (exception)
  • Get rights of a missing user (should return RIGHTS_NONE without exceptions)
  • Set rights of a missing user (exception)
  • The structure returned by list() is not valiadated
Testing of the User class is incomplete. Many error conditions are not tested for: - Authenticate a missing user (should return false without exceptions) - Get properties of a missing user (exception) - Set properties of a missing user (exception) - Get rights of a missing user (should return RIGHTS_NONE without exceptions) - Set rights of a missing user (exception) - The structure returned by list() is not valiadated
Poster
Owner

The entire User class will be rewritten to accommodate issue #52, so postponing this for now.

The entire User class will be rewritten to accommodate issue #52, so postponing this for now.
jking modified the milestone from 0.2.0 to Future 7 years ago
jking added
testing
and removed
internals
labels 7 years ago
jking removed the due date 0000-12-31 6 years ago
jking modified the milestone from Future to 0.5.0 6 years ago
jking closed this issue 6 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.