Test: soul_b refused-constituent test reads the typed refusal, not needs text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-11 13:05:34 +02:00
commit 2b495e1f33

View file

@ -15411,12 +15411,9 @@ mod tests {
panic!("a coarse cell did not run the grouped lane")
};
assert_eq!(run.submissions.len(), 1);
assert!(
run.needs
.iter()
.any(|need| need.detail.contains("scope changed")),
"{:?}",
run.needs
assert_eq!(
run.refused.iter().map(|entry| (entry.subject, entry.reason)).collect::<Vec<_>>(),
vec![(second, ConstituentRefusalReason::ScopeChanged)]
);
let after = digest_of(&mailbox.snapshot().await.unwrap(), second)