()
| 40 | } |
| 41 | |
| 42 | func testBoxes() []mail.Source { |
| 43 | return []mail.Source{ |
| 44 | {Kind: mail.KindBox, ID: 1, Name: "Imbox", BoxKind: hey.BoxKindImbox}, |
| 45 | {Kind: mail.KindBox, ID: 2, Name: "The Feed", BoxKind: hey.BoxKindFeed}, |
| 46 | {Kind: mail.KindBox, ID: 3, Name: "Paper Trail", BoxKind: hey.BoxKindTrail}, |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | func testPostings() []mail.Posting { |
| 51 | return []mail.Posting{ |
| 52 | { |
| 53 | ID: 100, |
| 54 | Summary: "Hello world", |
| 55 | CreatedAt: time.Date(2025, 3, 1, 10, 0, 0, 0, time.UTC), |
| 56 | Seen: false, |
| 57 | Creator: mail.Contact{Name: "Alice"}, |
| 58 | }, |
| 59 | { |
| 60 | ID: 101, |
| 61 | Summary: "Meeting notes", |
| 62 | CreatedAt: time.Date(2025, 3, 1, 9, 0, 0, 0, time.UTC), |
no outgoing calls
no test coverage detected