Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sugyan committed Jun 19, 2024
1 parent e63dd18 commit e27c820
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bsky-sdk/src/agent/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ mod tests {
.await?;
assert_eq!(agent.get_endpoint().await, "https://bsky.social");
assert_eq!(
agent.get_session().await.map(|session| session.handle),
agent
.get_session()
.await
.map(|session| session.handle.clone()),
Some("handle.test".parse().expect("invalid handle"))
);
}
Expand Down

0 comments on commit e27c820

Please sign in to comment.