arbitrary_user_state_with_id

Function arbitrary_user_state_with_id 

Source
pub fn arbitrary_user_state_with_id() -> impl Strategy<Value = (String, UserState)>
Expand description

Generates a (user_id, UserState) pair where the UserState is consistent with the user_id (i.e., owned documents have the user as owner, and user info in permissions matches the profile as the database will fill it in).