Skip to content

Commit

Permalink
fixup! feat(room_preview): Use room directory search as another data …
Browse files Browse the repository at this point in the history
…source
  • Loading branch information
jmartinesp committed Nov 18, 2024
1 parent 0c19280 commit e69f2f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/matrix-sdk/src/test_utils/mocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,8 @@ impl MatrixMockServer {
///
/// let (results, _) = room_directory_search.results();
/// assert_eq!(results.len(), 1);
/// # assert_eq!(results.get(0).unwrap().room_id, room_id.to_owned());
/// assert_eq!(results.get(0).unwrap().room_id, room_id.to_owned());
/// # });
/// ```
pub fn mock_public_rooms(&self) -> MockEndpoint<'_, PublicRoomsEndpoint> {
let mock = Mock::given(method("POST")).and(path_regex(r"/_matrix/client/v3/publicRooms"));
Expand Down

0 comments on commit e69f2f7

Please sign in to comment.