--- Update: message routing ---
(t *testing.T)
| 49 | } |
| 50 | } |
| 51 | |
| 52 | func mailWithPostings() *mailView { |
| 53 | v := newMailView(testVC()) |
| 54 | v.boxes = orderBoxes(testBoxes()) |
| 55 | v.boxIndex = 0 |
| 56 | v.Update(currentPostingsLoaded(v, testPostings())) |
| 57 | return v |
| 58 | } |
| 59 | |
| 60 | func currentPostingsLoaded(v *mailView, postings []mail.Posting) postingsLoadedMsg { |
| 61 | return postingsLoadedMsg{ |
| 62 | requestID: v.requests.id, |
| 63 | boxID: v.currentBoxID(), |
nothing calls this directly
no test coverage detected