Fix tests

This commit is contained in:
Conrad Irwin 2023-10-24 09:46:46 +02:00
parent ea4e67fb76
commit e6087e0ed9
2 changed files with 10 additions and 9 deletions

View file

@ -436,10 +436,7 @@ async fn test_channel_buffer_disconnect(
// Channel buffer observed the deletion
channel_buffer_b.update(cx_b, |buffer, cx| {
assert_eq!(
buffer.channel(cx).unwrap().as_ref(),
&channel(channel_id, "the-channel", proto::ChannelRole::Member)
);
assert!(buffer.channel(cx).is_none());
assert!(!buffer.is_connected());
});
}