rokwire / rokwire/core-building-block

[TASK] Define unit tests for email auth

Open
#511 0 comments 0 reactions 1 assignee View on GitHub

@roberlander2 is already working on this.

Since Aug 26, 2022.

  • #583 by @roberlander2 — 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.