Skip to content

Commit

Permalink
fixup! TF-3385 Update save and remove draft email
Browse files Browse the repository at this point in the history
  • Loading branch information
tddang-linagora committed Jan 2, 2025
1 parent 032e79d commit a3fd506
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ void main() {
createEmailRequest: anyNamed('createEmailRequest'),
cancelToken: anyNamed('cancelToken')))
.thenAnswer((_) => Stream.value(
Right(SaveEmailAsDraftsSuccess(EmailId(Id('123'))))));
Right(SaveEmailAsDraftsSuccess(EmailId(Id('123')), null))));

final savedEmailDraft = SavedEmailDraft(
content: emailContent,
Expand Down Expand Up @@ -1039,7 +1039,7 @@ void main() {
createEmailRequest: anyNamed('createEmailRequest'),
cancelToken: anyNamed('cancelToken')))
.thenAnswer((_) => Stream.value(
Right(SaveEmailAsDraftsSuccess(EmailId(Id('123'))))));
Right(SaveEmailAsDraftsSuccess(EmailId(Id('123')), null))));

final savedEmailDraft = SavedEmailDraft(
content: emailContent,
Expand Down

0 comments on commit a3fd506

Please sign in to comment.