TF-4368 Add verifying actual merged email IDs, not just count.
This commit is contained in:
@@ -1322,6 +1322,14 @@ void main() {
|
|||||||
equals(2),
|
equals(2),
|
||||||
reason: 'Should merge created emails from both pages',
|
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',
|
||||||
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user