Skip to content

Commit

Permalink
fix agent_info test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Nov 29, 2024
1 parent b01d3f7 commit 58b29b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ async fn agent_info() {
admin_ws.enable_app(app_id.clone()).await.unwrap();

let agent_infos = admin_ws.agent_info(None).await.unwrap();
// 2 agent infos expected, 1 app agent and 1 DPKI agent.
assert_eq!(agent_infos.len(), 2);

assert_eq!(agent_infos.len(), 1);

let other_agent = fixt::fixt!(AgentInfoSigned);
admin_ws
Expand All @@ -294,7 +294,7 @@ async fn agent_info() {
.unwrap();

let agent_infos = admin_ws.agent_info(None).await.unwrap();
assert_eq!(agent_infos.len(), 3);
assert_eq!(agent_infos.len(), 2);
assert!(agent_infos.contains(&other_agent));
}

Expand Down

0 comments on commit 58b29b3

Please sign in to comment.