From 93083ec3a51b179184bcad8d09eb7fa58f8dbe4f Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Tue, 10 Nov 2026 20:37:12 +0100 Subject: [PATCH] test(inbox): the inbox's targets carry their bucket counts (#957) Co-Authored-By: Claude Opus 5.5 --- compliance-agent/tests/inbox.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compliance-agent/tests/inbox.rs b/compliance-agent/tests/inbox.rs index 0d3096c..26855e0 100644 --- a/compliance-agent/tests/inbox.rs +++ b/compliance-agent/tests/inbox.rs @@ -183,7 +183,11 @@ async fn the_inbox_buckets_decides_undoes_and_resubmits() { assert_eq!(all["progress"], json!({ "decided": 1, "total": 7 })); assert_eq!( all["targets"], - json!([{ "id": TARGET, "name": "Pumpe", "cards": 5 }]) + json!([{ + "id": TARGET, + "name": "Pumpe", + "counts": { "today": 2, "this_week": 1, "later": 1, "likely_false_positive": 1 }, + }]) ); let today = all["cards"].as_array().unwrap(); let log4j = today