let new_mod = PersonForm {
name: "the mod".into(),
+ public_key: Some("pubkey".to_string()),
..PersonForm::default()
};
let new_person = PersonForm {
name: "jim2".into(),
+ public_key: Some("pubkey".to_string()),
..PersonForm::default()
};
let new_community = CommunityForm {
name: "mod_community".to_string(),
title: "nada".to_owned(),
+ public_key: Some("pubkey".to_string()),
..CommunityForm::default()
};
..CommentForm::default()
};
- let inserted_comment = Comment::create(&conn, &comment_form).unwrap();
+ let inserted_comment = Comment::create(&conn, &comment_form, None).unwrap();
// Now the actual tests