GODT-1817: Port over missing IMAP copy feature test

This commit is contained in:
Leander Beernaert
2022-12-22 15:34:48 +01:00
parent e3a1482b8f
commit e9e59a2704
4 changed files with 56 additions and 111 deletions

View File

@ -252,13 +252,21 @@ func (s *scenario) imapClientCopiesTheMessageWithSubjectFromTo(clientID, subject
return err
}
return clientCopy(client, from, to, uid)
if err := clientCopy(client, from, to, uid); err != nil {
s.t.pushError(err)
}
return nil
}
func (s *scenario) imapClientCopiesAllMessagesFromTo(clientID, from, to string) error {
_, client := s.t.getIMAPClient(clientID)
return clientCopy(client, from, to)
if err := clientCopy(client, from, to); err != nil {
s.t.pushError(err)
}
return nil
}
func (s *scenario) imapClientSeesTheFollowingMessagesInMailbox(clientID, mailbox string, table *godog.Table) error {