@@ -285,7 +285,7 @@ def test_authenticate_success_with_roles(
285285 "org_id" : session_constants ["ORGANIZATION_ID" ],
286286 "role" : "admin" ,
287287 "roles" : ["admin" , "member" ],
288- "permissions" : ["read" ],
288+ "permissions" : ["read" , "write" ],
289289 "entitlements" : ["feature_1" ],
290290 "exp" : int (datetime .now (timezone .utc ).timestamp ()) + 3600 ,
291291 "iat" : int (datetime .now (timezone .utc ).timestamp ()),
@@ -310,7 +310,7 @@ def test_authenticate_success_with_roles(
310310 "org_id" : session_constants ["ORGANIZATION_ID" ],
311311 "role" : "admin" ,
312312 "roles" : ["admin" , "member" ],
313- "permissions" : ["read" ],
313+ "permissions" : ["read" , "write" ],
314314 "entitlements" : ["feature_1" ],
315315 }
316316
@@ -329,7 +329,7 @@ def test_authenticate_success_with_roles(
329329 assert response .organization_id == session_constants ["ORGANIZATION_ID" ]
330330 assert response .role == "admin"
331331 assert response .roles == ["admin" , "member" ]
332- assert response .permissions == ["read" ]
332+ assert response .permissions == ["read" , "write" ]
333333 assert response .entitlements == ["feature_1" ]
334334 assert response .user .id == session_constants ["USER_ID" ]
335335 assert response .impersonator is None
0 commit comments