mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Fix tests assuming a certain execution order
This commit is contained in:
parent
a1d0d2ccc4
commit
25d47daad6
1 changed files with 8 additions and 7 deletions
|
@ -1270,13 +1270,6 @@ mod tests {
|
|||
.detach();
|
||||
});
|
||||
|
||||
let request = server.receive::<proto::RegisterProject>().await.unwrap();
|
||||
server
|
||||
.respond(
|
||||
request.receipt(),
|
||||
proto::RegisterProjectResponse { project_id: 200 },
|
||||
)
|
||||
.await;
|
||||
let get_users_request = server.receive::<proto::GetUsers>().await.unwrap();
|
||||
server
|
||||
.respond(
|
||||
|
@ -1307,6 +1300,14 @@ mod tests {
|
|||
)
|
||||
.await;
|
||||
|
||||
let request = server.receive::<proto::RegisterProject>().await.unwrap();
|
||||
server
|
||||
.respond(
|
||||
request.receipt(),
|
||||
proto::RegisterProjectResponse { project_id: 200 },
|
||||
)
|
||||
.await;
|
||||
|
||||
server.send(proto::UpdateContacts {
|
||||
incoming_requests: vec![proto::IncomingContactRequest {
|
||||
requester_id: 1,
|
||||
|
|
Loading…
Reference in a new issue