upgrade linter and cleanup makefile (#126)

This commit is contained in:
Harshavardhana
2020-05-18 21:55:54 -07:00
committed by GitHub
parent c5b2419191
commit 92a8aab07d
9 changed files with 102 additions and 761 deletions

View File

@@ -63,7 +63,7 @@ func TestJWTAuthenticate(t *testing.T) {
}
// Test-2 : JWTAuthenticate() return an error because of a tampered jwt
if _, err := JWTAuthenticate(badToken); err != nil {
funcAssert.Equal("Authentication failed, check your access credentials", err.Error())
funcAssert.Equal("authentication failed, check your access credentials", err.Error())
}
// Test-3 : JWTAuthenticate() return an error because of an empty jwt
if _, err := JWTAuthenticate(""); err != nil {