From 33db267a897e584ee9a5f405262f0b458675437d Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Wed, 27 Aug 2025 15:50:22 +0200 Subject: [PATCH] test(base): `test_cached_latest_event_can_be_redacted` runs only if `e2e-encryption` is enabled. This patch puts `test_cached_latest_event_can_be_redacted` as it runs only if `e2e-encryption` is turned on. --- crates/matrix-sdk-base/src/sliding_sync.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/matrix-sdk-base/src/sliding_sync.rs b/crates/matrix-sdk-base/src/sliding_sync.rs index 7ee7bd630..bf7a58a5a 100644 --- a/crates/matrix-sdk-base/src/sliding_sync.rs +++ b/crates/matrix-sdk-base/src/sliding_sync.rs @@ -1449,6 +1449,7 @@ mod tests { assert!(client_room.latest_event().is_none()); } + #[cfg(feature = "e2e-encryption")] #[async_test] async fn test_cached_latest_event_can_be_redacted() { // Given a logged-in client