mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-07 23:44:53 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user