radicle/cob/identity: Strengthen test assumptions

Not only assert that the revision is active, but
also its parent.
This commit is contained in:
Lorenz Leutgeb
2026-07-02 09:56:22 +01:00
committed by Fintan Halpenny
parent ee17109501
commit 442df34be7
+4 -1
View File
@@ -1482,7 +1482,10 @@ mod test {
&eve_doc.verified().unwrap(),
)
.unwrap();
assert!(eve_identity.revision(&e2).unwrap().is_active());
let eve_revision = eve_identity.revision(&e2).unwrap();
assert_eq!(eve_revision.state, State::Active);
assert_eq!(eve_revision.parent, Some(a1));
// e2 (Propose "Change visibility") 1/2
// |