-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backend [Integration Test] auth.go handlers GetAdminPubkeys, GetIsAdmin, & RefreshToken #1529
Comments
@ecurrencyhodler Could you please assign me this task? |
Hi @ecurrencyhodler |
Ali this is yours. Let's get a PR in 2 days. |
Sorry @aliraza556 let me get this to another hunter. I have another bounty for you. |
@ecurrencyhodler I have already written the unit tests for this issue locally. I'm just waiting for you to assign me so that I can create a pull request and share it with you. |
Hi @AbdulWahab3181, |
@ecurrencyhodler Assign |
I'm trying to reserve this for another hunter. I'll check again tomorrow. |
@ecurrencyhodler assign me? |
@FaisalIqbal211 this is yours. |
Context
We are trying to increase the test coverage for our Golang backend.
File to to test
handlers/auth.go
Design
Write tests for the auth handlers, the test should:
GetAdminPubkeys
handlers.GetIsAdmin
returns a 401 error if the user is not an adminAuth Handlers To Test
Add tests to
auth_test.go
Acceptance Criteria
References
Here is an example backend test
The text was updated successfully, but these errors were encountered: