Skip to content
Snippets Groups Projects

Resolve "Tests E2E fails but CI pass"

1 unresolved thread
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -558,6 +558,9 @@ async fn should_have_distance_ok(world: &mut DuniterWorld, who: String) -> Resul
.await?
{
Some((_, gdev::runtime_types::pallet_distance::types::DistanceStatus::Valid)) => Ok(()),
Some((_, gdev::runtime_types::pallet_distance::types::DistanceStatus::Invalid)) => {
Err(anyhow::anyhow!("invalid distance status").into())
}
Some((_, gdev::runtime_types::pallet_distance::types::DistanceStatus::Pending)) => {
Err(anyhow::anyhow!("pending distance status").into())
}
Loading