test(sdk): Fix an integration test in Sliding Sync.

The test does the following:

1. Create 2 (identical) lists,
2. Do a sync.
3. Assert that the 1st and 2nd lists are receiving an update,
4. Add a 3rd (identical) list,
5. Do a new sync,
6. Assert that 3rd list is receiving an update.

This last step is wrong. All lists should receive an update as they
are identical.
This commit is contained in:
Ivan Enderlin
2023-04-06 11:29:10 +02:00
parent eb0e97b902
commit fbe162a1bc

View File

@@ -360,7 +360,7 @@ async fn adding_list_later() -> anyhow::Result<()> {
// we only heard about the ones we had asked for
if !summary.lists.is_empty() {
// only if we saw an update come through
assert_eq!(summary.lists, [list_name_3]);
assert_eq!(summary.lists, [list_name_1, list_name_2, list_name_3]);
// we didn't update the other lists, so only no 2 should se an update
saw_update = true;
break;