Skip to content

Commit

Permalink
fixup! reenable tests
Browse files Browse the repository at this point in the history
also why do people create manual fixup! commits?
  • Loading branch information
bnjbvr committed Sep 11, 2024
1 parent 71652dd commit 5cfada1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions testing/matrix-sdk-integration-testing/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ impl TestClientBuilder {
self
}

pub fn http_proxy(mut self, url: String) -> Self {
self.http_proxy = Some(url);
self
}

fn common_client_builder(&self) -> ClientBuilder {
let homeserver_url =
option_env!("HOMESERVER_URL").unwrap_or("http://localhost:8228").to_owned();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// mod notification_client;
// mod room;
mod notification_client;
mod room;
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ use matrix_sdk::{
space::SpaceRoomJoinRule,
RoomId,
},
sliding_sync::VersionBuilder,
Client, RoomInfo, RoomMemberships, RoomState, SlidingSyncList, SlidingSyncMode,
};
use matrix_sdk_base::sliding_sync::http;
Expand Down Expand Up @@ -268,12 +269,11 @@ async fn test_joined_user_can_create_push_context_with_room_list_service() -> Re

// And a new device for Alice that uses sliding sync,
let hs = alice.homeserver();
let sliding_sync_version = alice.sliding_sync_version();
let alice_id = alice.user_id().unwrap().localpart().to_owned();

let alice = Client::builder()
.homeserver_url(hs)
.sliding_sync_version(sliding_sync_version)
.sliding_sync_version_builder(VersionBuilder::Native)
.build()
.await
.unwrap();
Expand Down

0 comments on commit 5cfada1

Please sign in to comment.