diff --git a/agdb_server/tests/routes/cluster_test.rs b/agdb_server/tests/routes/cluster_test.rs index 36dcd13e..b50d6a00 100644 --- a/agdb_server/tests/routes/cluster_test.rs +++ b/agdb_server/tests/routes/cluster_test.rs @@ -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