Skip to content

Commit

Permalink
docs: create QA table for refresh token API (#492)
Browse files Browse the repository at this point in the history
docs: updates quality assurance table for refresh token API in the documentation

Co-authored-by: jotharman <theultimatepower9@gmail.com>
  • Loading branch information
jotharman and jotharman authored Mar 17, 2020
1 parent eddbbec commit fe87045
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/quality-assurance-test-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,18 @@ This document contains some examples of test cases for each feature implemented
| Email in request body does not belong to a registered User | Fail |
| Email in request body is from a Verified User | Fail |

### Refresh token

**Service:** POST /user/refresh

| Test Case | Outcome |
|------------------------------------------------------------------------------------ |---------|
|Refresh token in Authorization field is the refresh token returned on login response | Success |
|Refresh token in Authorization field is not valid or without Bearer | Fail |
|Refresh token in the Authorization field is expired | Fail |
|No Refresh token is given in the Authorization field after Bearer | Fail |


## Mentorship Relation

### Send request
Expand Down Expand Up @@ -172,3 +184,5 @@ Only admin users have access to this.
| Revoke self the admin role when self is not the only admin | Success |
| Revoking an admin user, when the current user is not an admin | Fail |



0 comments on commit fe87045

Please sign in to comment.