From ebdc3fcf5e52b15392f83bbc330b34081f4f7a44 Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Wed, 18 Oct 2023 12:54:09 +0200 Subject: [PATCH] fix(#125): debug(e2): explicitely say that issuer does not exist --- end2end-tests/tests/common/cert.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/end2end-tests/tests/common/cert.rs b/end2end-tests/tests/common/cert.rs index d380720a9..0b93cb0b6 100644 --- a/end2end-tests/tests/common/cert.rs +++ b/end2end-tests/tests/common/cert.rs @@ -29,12 +29,12 @@ pub async fn certify(client: &Client, from: AccountKeyring, to: AccountKeyring) .storage() .fetch(&gdev::storage().identity().identity_index_of(&from), None) .await? - .unwrap(); + .expect(format!("{} issuer must exist", from.to_string()).as_str()); let receiver_index = client .storage() .fetch(&gdev::storage().identity().identity_index_of(&to), None) .await? - .unwrap(); + .expect(format!("{} issuer must exist", from.to_string()).as_str()); let _events = create_block_with_extrinsic( client, -- GitLab