Get tests green

This commit is contained in:
Mikayla
2023-11-08 10:38:43 -08:00
parent 9b30f490c7
commit e1cb993878
133 changed files with 130 additions and 31992 deletions
@@ -388,6 +388,7 @@ async fn test_channel_buffer_disconnect(
.update(cx_a, |store, cx| store.open_channel_buffer(channel_id, cx))
.await
.unwrap();
let channel_buffer_b = client_b
.channel_store()
.update(cx_b, |store, cx| store.open_channel_buffer(channel_id, cx))
@@ -1017,6 +1017,8 @@ async fn test_channel_link_notifications(
.await
.unwrap();
executor.run_until_parked();
// the new channel shows for b and not c
assert_channels_list_shape(
client_a.channel_store(),
@@ -4086,6 +4086,7 @@ async fn test_formatting_buffer(
cx_a: &mut TestAppContext,
cx_b: &mut TestAppContext,
) {
executor.allow_parking();
let mut server = TestServer::start(executor.clone()).await;
let client_a = server.create_client(cx_a, "user_a").await;
let client_b = server.create_client(cx_b, "user_b").await;
-1
View File
@@ -122,7 +122,6 @@ impl TestServer {
pub async fn create_client(&mut self, cx: &mut TestAppContext, name: &str) -> TestClient {
cx.update(|cx| {
println!("PLS SHOW UP");
if cx.has_global::<SettingsStore>() {
panic!("Same cx used to create two test clients")
}