From 80c368be62d52bc94b908b8ca7bb570e07d8fff5 Mon Sep 17 00:00:00 2001 From: dab246 Date: Wed, 11 Mar 2026 13:26:26 +0700 Subject: [PATCH] TF-4368 Add verifying actual merged email IDs, not just count. --- .../data/repository/thread_repository_impl_test.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/features/thread/data/repository/thread_repository_impl_test.dart b/test/features/thread/data/repository/thread_repository_impl_test.dart index 95599ea89..1e22ee3ec 100644 --- a/test/features/thread/data/repository/thread_repository_impl_test.dart +++ b/test/features/thread/data/repository/thread_repository_impl_test.dart @@ -1322,6 +1322,14 @@ void main() { equals(2), reason: 'Should merge created emails from both pages', ); + final createdIds = result.emailChangeResponse?.created + ?.map((e) => e.id?.id.value) + .toSet(); + expect( + createdIds, + containsAll(['created1', 'created2']), + reason: 'Should contain both created emails from different pages', + ); }, );