diff --git a/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs b/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs index bc855b0c53c..aa85dcb0360 100644 --- a/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs +++ b/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs @@ -1094,7 +1094,7 @@ async fn test_room_preview() -> Result<()> { let preview = alice.get_room_preview(room_id.into(), Vec::new()).await?; assert_room_preview(&preview, &room_alias); assert_eq!(preview.state, Some(RoomState::Joined)); - assert!(preview.heroes.is_none()); + assert!(preview.heroes.is_some()); } Ok(())