Remove Auth and AuthResponse protobuf messages

This commit is contained in:
Max Brunsfeld
2021-08-19 18:00:12 -07:00
parent a4882169c2
commit 467512eedd
3 changed files with 27 additions and 50 deletions
+1 -7
View File
@@ -514,13 +514,7 @@ mod tests {
smol::spawn(async move { incoming.next().await }).detach();
let err = client
.request(
connection_id,
proto::Auth {
user_id: 42,
access_token: "token".to_string(),
},
)
.request(connection_id, proto::Ping { id: 42 })
.await
.unwrap_err();
assert_eq!(err.to_string(), "connection was closed");