From 6b245264e103b0bdb17604356fca6ba381de6dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Thu, 13 Nov 2025 23:04:04 +0100 Subject: [PATCH] fix(test): Fix broken test locally: it was using a previous cached value before --- crates/matrix-sdk-ui/tests/integration/room_list_service.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/matrix-sdk-ui/tests/integration/room_list_service.rs b/crates/matrix-sdk-ui/tests/integration/room_list_service.rs index ca3e3efbb..bb0f878f0 100644 --- a/crates/matrix-sdk-ui/tests/integration/room_list_service.rs +++ b/crates/matrix-sdk-ui/tests/integration/room_list_service.rs @@ -2993,6 +2993,8 @@ async fn test_thread_subscriptions_extension_enabled_only_if_server_advertises_i }, }, }; + + mock_server.reset().await; } // Then, advertise support with support for MSC4306; the extension will be @@ -3003,7 +3005,7 @@ async fn test_thread_subscriptions_extension_enabled_only_if_server_advertises_i .mock_versions() .ok_custom(&["v1.11"], &features_map) .named("/versions, second time") - .mock_once() + .up_to_n_times(2) .mount() .await;