mirror of
https://github.com/zoriya/blog.git
synced 2025-12-05 22:16:10 +00:00
add basic assertions for experation & issuedAt
This commit is contained in:
@@ -9,4 +9,6 @@ authorization: Bearer {{session_token}}
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
jsonpath "$['sub']" == "pina"
|
||||
jsonpath "$['iss']" == "keibi-blog"
|
||||
jsonpath "$['iss']" == "keibi-blog"
|
||||
jsonpath "$['exp']" toString toDate "%s" daysAfterNow <= 1
|
||||
jsonpath "$['iat']" toString toDate "%s" daysBeforeNow == 0
|
||||
Reference in New Issue
Block a user