forked from Silverfish/proton-bridge
fix(GODT-2212): Preserver Header order in message building
https://github.com/ProtonMail/go-proton-api/pull/100
This commit is contained in:
@ -340,10 +340,9 @@ func TestDownloadStage_JobAbortsOnAttachmentDownloadError(t *testing.T) {
|
||||
MessageMetadata: proton.MessageMetadata{
|
||||
ID: "msg",
|
||||
},
|
||||
Header: "",
|
||||
ParsedHeaders: nil,
|
||||
Body: "",
|
||||
MIMEType: "",
|
||||
Header: "",
|
||||
Body: "",
|
||||
MIMEType: "",
|
||||
Attachments: []proton.Attachment{{
|
||||
ID: "attach",
|
||||
}},
|
||||
@ -387,11 +386,10 @@ func buildDownloadStageData(tj *tjob, numMessages int, with422 bool) ([]string,
|
||||
ID: msgID,
|
||||
Size: len([]byte(msgID)),
|
||||
},
|
||||
Header: "",
|
||||
ParsedHeaders: nil,
|
||||
Body: msgID,
|
||||
MIMEType: "",
|
||||
Attachments: nil,
|
||||
Header: "",
|
||||
Body: msgID,
|
||||
MIMEType: "",
|
||||
Attachments: nil,
|
||||
},
|
||||
AttData: nil,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user