forked from Silverfish/proton-bridge
Other Improved tests in move_without_support
This commit is contained in:
committed by
Jakub Cuth
parent
39bccc2747
commit
a4a29cbf82
@ -101,6 +101,11 @@ func thereAreMessagesInMailboxesForAddressOfUser(mailboxNames, bddAddressID, bdd
|
||||
|
||||
if message.HasLabelID(pmapi.SentLabel) {
|
||||
message.Flags |= pmapi.FlagSent
|
||||
} else {
|
||||
// some tests (Outlook move by DELETE EXPUNGE APPEND) imply creating hard copies of emails,
|
||||
// and the importMessage() function flags the email as Sent if the 'Received' key in not present in the
|
||||
// header.
|
||||
header.Add("Received", "from dummy.protonmail.com")
|
||||
}
|
||||
|
||||
bddMessageID := ""
|
||||
|
||||
Reference in New Issue
Block a user