1
0

fix (GODT-597): duplicate send when draft creation takes a long time

This commit is contained in:
James Houlahan
2020-08-17 10:49:56 +02:00
parent 77c6ba381e
commit 35b37c7097
4 changed files with 35 additions and 9 deletions

View File

@ -365,7 +365,8 @@ func TestSendRecorder_getMessageHash(t *testing.T) {
func TestSendRecorder_isSendingOrSent(t *testing.T) {
q := newSendRecorder()
q.addMessage("hash", "messageID")
q.addMessage("hash")
q.setMessageID("hash", "messageID")
testCases := []struct {
hash string