Skip to content
This repository was archived by the owner on Mar 12, 2023. It is now read-only.

Task: improve user package tests #79

Open
RageCage64 opened this issue Jan 8, 2022 · 0 comments
Open

Task: improve user package tests #79

RageCage64 opened this issue Jan 8, 2022 · 0 comments
Labels
needs triage The issue or pull request could use eyes on it

Comments

@RageCage64
Copy link
Contributor

RageCage64 commented Jan 8, 2022

We would like to merge #78 due to circumstances around the new POC. If we come back to this repo, we will need to flesh out the tests that are there.

Missing test cases:
Me should respond with 500 when there is no user in the JWT
GetUser should respond with a user if it exists
GetUser should respond with 404 if not found and have 1 error in response
GetUser should respond with 500 if the call to the DB failed

Affected Functionality

Just tests

@RageCage64 RageCage64 added the needs triage The issue or pull request could use eyes on it label Jan 8, 2022
zysim pushed a commit to zysim/leaderboard-backend-go that referenced this issue Jun 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs triage The issue or pull request could use eyes on it
Projects
None yet
Development

No branches or pull requests

1 participant