- let my_person_form = PersonForm {
- name: "Reverie Toiba".to_string(),
- public_key: Some("pubkey".to_string()),
- ..PersonForm::default()
- };
- let my_person = Person::create(&conn, &my_person_form).unwrap();
- let local_user_form = LocalUserForm {
- person_id: Some(my_person.id),
- password_encrypted: Some("".to_string()),
- ..Default::default()
- };
- let local_user = LocalUser::create(&conn, &local_user_form).unwrap();
-
- // Update the users languages to all
- LocalUserLanguage::update_user_languages(&conn, None, local_user.id).unwrap();
-