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.
This commit is contained in:
Ivan Enderlin
2025-08-27 15:50:22 +02:00
parent 6fc68dac83
commit 33db267a89

View File

@@ -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