File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ async def test_create_access_token_payload_with_session_claims(timestamp: int):
31
31
s = await create_new_session (dummy_req , "someId" )
32
32
33
33
payload = s .get_access_token_payload ()
34
- assert len (payload ) == 9
34
+ assert len (payload ) == 10
35
35
assert payload ["st-true" ] == {"v" : True , "t" : timestamp }
36
36
37
37
@@ -44,7 +44,7 @@ async def test_should_create_access_token_payload_with_session_claims_with_an_no
44
44
s = await create_new_session (dummy_req , "someId" )
45
45
46
46
payload = s .get_access_token_payload ()
47
- assert len (payload ) == 8
47
+ assert len (payload ) == 9
48
48
assert payload .get ("st-true" ) is None
49
49
50
50
Original file line number Diff line number Diff line change 21
21
pytestmark = pytest .mark .asyncio
22
22
23
23
24
- async def test_access_token_v3 ():
24
+ async def test_access_token_v4 ():
25
25
init (** get_st_init_args ([session .init ()])) # type:ignore
26
26
start_st ()
27
27
@@ -39,6 +39,7 @@ async def test_access_token_v3():
39
39
False ,
40
40
)
41
41
assert res ["userId" ] == "user-id"
42
+ assert parsed_info .version == 4
42
43
43
44
44
45
async def test_parsing_access_token_v2 ():
You can’t perform that action at this time.
0 commit comments