Adapt integration tests to always pass a room id to Project::share
Randomized test is failing, so we'll look into that next.
This commit is contained in:
parent
964a5d2db7
commit
6426037653
5 changed files with 349 additions and 224 deletions
|
@ -4435,8 +4435,14 @@ impl Project {
|
|||
_: Arc<Client>,
|
||||
mut cx: AsyncAppContext,
|
||||
) -> Result<()> {
|
||||
this.update(&mut cx, |this, cx| this.disconnected_from_host(cx));
|
||||
Ok(())
|
||||
this.update(&mut cx, |this, cx| {
|
||||
if this.is_local() {
|
||||
this.unshare(cx)?;
|
||||
} else {
|
||||
this.disconnected_from_host(cx);
|
||||
}
|
||||
Ok(())
|
||||
})
|
||||
}
|
||||
|
||||
async fn handle_add_collaborator(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue