diff --git a/utils/utils_test.go b/utils/utils_test.go index 21a4198f4fa3f4a6d5300891f0fda6791d8ef39c..d5fa98612fc7d7f37293056aa4f3017d82680b85 100644 --- a/utils/utils_test.go +++ b/utils/utils_test.go @@ -1,6 +1,7 @@ package utils import ( + "github.com/hilo-common/utils/jwt" "testing" "time" ) @@ -8,3 +9,8 @@ import ( func TestTestCommon(t *testing.T) { t.Logf(time.Date(2022, time.November, 1, 0, 0, 0, 0, time.Local).String()) } + +func TestJwt(t *testing.T) { + token, _ := jwt.GenerateToken(4522, "bd572e747832490189f1604742a09225", "hiloApi") + t.Logf(token) +}