radicle/cob/identity: Strengthen test assumptions
Not only assert that the revision is active, but also its parent.
This commit is contained in:
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
|
||||
// |
|
||||
|
|
|
|||
Loading…
Reference in New Issue