mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-08 04:40:43 +08:00
radicle/cob/identity: Strengthen test assumptions
Not only assert that the revision is active, but also its parent.
This commit is contained in:
committed by
Fintan Halpenny
parent
ee17109501
commit
442df34be7
@@ -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
|
||||
// |
|
||||
|
||||
Reference in New Issue
Block a user