Other: Ensure expunge feature test pushes to error stack

This commit is contained in:
Leander Beernaert
2022-12-02 14:56:29 +01:00
parent 7bc608ce6c
commit 8990f2d1d6
3 changed files with 12 additions and 7 deletions

View File

@ -377,7 +377,9 @@ func (s *scenario) imapClientSeesThatMessageHasTheFlag(clientID string, seq int,
func (s *scenario) imapClientExpunges(clientID string) error {
_, client := s.t.getIMAPClient(clientID)
return client.Expunge(nil)
s.t.pushError(client.Expunge(nil))
return nil
}
func (s *scenario) imapClientAppendsTheFollowingMessageToMailbox(clientID string, mailbox string, docString *godog.DocString) error {