()
| 559 | |
| 560 | #[test] |
| 561 | fn test_fallback_author() { |
| 562 | let options = AgentAuthorOptions { |
| 563 | agent_name: "claude-code", |
| 564 | agent_display_name: "Claude Code", |
| 565 | session_id: "sess-123", |
| 566 | identity_dir: None, |
| 567 | }; |
| 568 | |
| 569 | let author = fallback_agent_author(&options); |
| 570 | |
| 571 | assert_eq!(author.name, "Claude Code"); |
| 572 | assert!(author.email.is_none()); |
| 573 | assert!(author.identity.is_none()); |
| 574 | } |
| 575 | |
| 576 | // resolve_agent_author (integration) |
| 577 |
nothing calls this directly
no test coverage detected