Finish room initialization concurrency test
This commit is contained in:
parent
7e4de2ac16
commit
b8936e5fca
2 changed files with 40 additions and 5 deletions
|
@ -40,6 +40,6 @@ fn room_participants(room: &ModelHandle<Room>, cx: &mut TestAppContext) -> RoomP
|
|||
})
|
||||
}
|
||||
|
||||
fn channel_id(room: &ModelHandle<Room>, cx: &mut TestAppContext) -> u64 {
|
||||
cx.read(|cx| room.read(cx).channel_id().unwrap())
|
||||
fn channel_id(room: &ModelHandle<Room>, cx: &mut TestAppContext) -> Option<u64> {
|
||||
cx.read(|cx| room.read(cx).channel_id())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue