Commit af2565a6 authored by Akshay Bharambe's avatar Akshay Bharambe
Browse files

Update: JWT tests

parent 0cfde640
Branches
Tags
2 merge requests!210Staging mepdeployment05072020,!200Add: Session control
Showing with 5 additions and 1 deletion
......@@ -82,7 +82,7 @@ func TestDecodeTokenvalid(t *testing.T) {
// }
func TestGenerateTokenWithOptions(t *testing.T) {
sessionmdl.InitSessionManagerCache(cachemdl.TypeFastCache)
sessionmdl.InitUserSessionCache(cachemdl.TypeFastCache)
type args struct {
args []Option
......@@ -127,6 +127,10 @@ func TestGenerateTokenWithOptions(t *testing.T) {
return
}
if got != "" {
t.Error(got)
}
fmt.Println(got)
})
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment