Skip to content
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

[auth][test] Add unit test basis for auth service #44

Merged
merged 1 commit into from
Mar 6, 2020
Merged

Conversation

jaylees14
Copy link
Member

@jaylees14 jaylees14 commented Mar 5, 2020

Wow such verbosity.

Add all the boilerplate we need to write tests for the auth service.

auth/auth_test.go Show resolved Hide resolved
@@ -4,8 +4,8 @@ go 1.13

require (
github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the incompatible referring to?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dgrijalva/jwt-go#294 Looks like it's a go mod thing, where jwt-go doesn't fully support modules in v3, but will do in v4. Looks like it's in preview for now, but we can upgrade if/when they release, although they mention will be some breaking changes

@jaylees14 jaylees14 merged commit 458e110 into develop Mar 6, 2020
@jaylees14 jaylees14 deleted the auth-test branch March 6, 2020 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants