GODT-1433 Adding first integration test for drafts.

This commit is contained in:
Jakub
2021-11-30 13:53:49 +01:00
parent 6ed97a0347
commit 55beb9227f
8 changed files with 89 additions and 15 deletions

View File

@ -73,6 +73,10 @@ func (ctl *Controller) AddUserMessage(username string, message *pmapi.Message) (
return result.MessageID, nil
}
func (ctl *Controller) SetDraftBody(username string, messageID string, body string) error {
return errors.New("set draft body is not implemented for live")
}
func (ctl *Controller) GetMessages(username, labelID string) ([]*pmapi.Message, error) {
client, err := getPersistentClient(username)
if err != nil {