()
| 285 | |
| 286 | #[test] |
| 287 | fn manual_command_from_issue_event_no_cmd() { |
| 288 | let mut event = setup_test_issue_event(); |
| 289 | event.action = IssueEventAction::Opened; |
| 290 | event.issue.body = Some("Hi!".to_string()); |
| 291 | let event = Event::Issue(event); |
| 292 | |
| 293 | assert_eq!(Command::from_event_manual(&event), None); |
| 294 | } |
| 295 | |
| 296 | #[test] |
| 297 | fn manual_command_from_issue_event_create_vote_cmd_default_profile() { |
nothing calls this directly
no test coverage detected