Skip to content

Commit

Permalink
update jwttoken_test
Browse files Browse the repository at this point in the history
  • Loading branch information
mirel-dev committed May 20, 2024
1 parent 98819c8 commit 5b85dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion token/jwttoken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func Test_customJWTokenClaimsImpl_CreateToken(t *testing.T) {
time.Sleep(time.Second * 5)
assert.Nil(t, err)
err = tokenImpl.VerifyToken(token, "any struct")
assert.Equal(t, "Token is expired", err.Error())
assert.Equal(t, "token has invalid claims: token is expired", err.Error())

}

Expand Down

0 comments on commit 5b85dfc

Please sign in to comment.