rokwire / rokwire/core-building-block
[TASK] Define unit tests for email auth
Open
tests
- Dominant language
- Go
- Stars
- 3
- Forks
- 2
- Avg merge
- 5h 45m
- Merged PRs (30d)
- 3
Description
Description
Please provide a detailed description of the issue.
We should define unit tests for the email auth implementation to ensure auth related functionality does not change unexpectedly.
Acceptance Criteria
Please describe what it means for this issue to be considered complete.
Unit tests have been defined for all email auth interfaces with the following test cases:
signUp- Success
- Mismatched passwords
- Existing account
- Previously sent verification email
checkCredentials- Success
- Incorrect password
- Unverified
...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.