diff --git a/token/jwttoken_test.go b/token/jwttoken_test.go index dbe0508e..a6c8f670 100644 --- a/token/jwttoken_test.go +++ b/token/jwttoken_test.go @@ -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()) }