Commit 7fb49ff
fixup! fix(imap): detect iMIP when method= is missing or mime is application/ics
Add a regression test exercising ImapMessageFetcher::getPart()'s
METHOD-from-body fallback (which is the new branch introduced by this
PR). Uses the existing request_proton_bridge fixture and the same
saveMimeMessage / fetchMessage pattern as the surrounding S/MIME
tests, so it goes through the real Horde+IMAP stack instead of just
parsing the MIME tree like the MessageMapperTest case does.
Asserts that the scheduling entry is emitted, its method is REQUEST,
and the contents we stash contain the METHOD: line we parsed.
AI-assisted: Claude Code (Claude Opus 4.7)
Signed-off-by: Wolfgang Lubowski <w.lub92@gmail.com>1 parent 9dac7ac commit 7fb49ff
1 file changed
Lines changed: 25 additions & 0 deletions
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
233 | 258 | | |
0 commit comments