GODT-1804: Add parsing ics attachment test.

This commit is contained in:
Romain LE JEUNE
2022-11-28 09:01:10 +01:00
parent 5ae8d274c0
commit f355cb4d38
2 changed files with 34 additions and 0 deletions

14
pkg/message/testdata/ics_attachment.eml vendored Normal file
View File

@ -0,0 +1,14 @@
From: Sender <sender@pm.me>
To: Receiver <receiver@pm.me>
Content-Type: multipart/mixed; boundary=longrandomstring
--longrandomstring
body
--longrandomstring
Content-Type: text/calendar; charset=utf-8; method=REQUEST; name=invite.ics'
Content-Transfer-Encoding: Base64
Content-Disposition: attachment; filename=invite.ics
VGhpcyBpcyBhbiBpY3MgY2FsZW5kYXIgaW52aXRl
--longrandomstring--