forked from lavina/lavina
1
0
Fork 0

call expect_cap_ls

This commit is contained in:
Nikita Vilunov 2024-04-21 19:51:46 +02:00
parent b787f1a545
commit db8d151f15
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ async fn server_time_capability() -> Result<()> {
s.send("CAP LS 302").await?;
s.send("NICK tester").await?;
s.send("USER UserName 0 * :Real Name").await?;
s.expect(":testserver CAP * LS :sasl=PLAIN server-time").await?;
s.expect_cap_ls().await?;
s.send("CAP REQ :sasl server-time").await?;
s.expect(":testserver CAP tester ACK :sasl server-time").await?;
s.send("AUTHENTICATE PLAIN").await?;