Skip to content

Commit

Permalink
Update cluster_test.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvlach committed Dec 20, 2024
1 parent 50fc624 commit 1ac2995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agdb_server/tests/routes/cluster_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async fn user() -> anyhow::Result<()> {
leader.admin_user_remove("user1").await?;
client.write().await.user_login(ADMIN, ADMIN).await?;
client.read().await.user_status().await?;
client.write().await.admin_cluster_logout(ADMIN).await?;
client.write().await.cluster_logout().await?;
assert_eq!(
client.read().await.user_status().await.unwrap_err().status,
401
Expand Down

0 comments on commit 1ac2995

Please sign in to comment.