Refactor to remove toggle_follow
This commit is contained in:
parent
27d784b23e
commit
528fa5c57b
3 changed files with 27 additions and 29 deletions
|
@ -702,9 +702,7 @@ async fn test_following_to_channel_notes_without_a_shared_project(
|
|||
// Client B follows client A.
|
||||
workspace_b
|
||||
.update(cx_b, |workspace, cx| {
|
||||
workspace
|
||||
.toggle_follow(client_a.peer_id().unwrap(), cx)
|
||||
.unwrap()
|
||||
workspace.follow(client_a.peer_id().unwrap(), cx).unwrap()
|
||||
})
|
||||
.await
|
||||
.unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue