From cb58891c5eb9fc78a1950962b82443c6ab26a698 Mon Sep 17 00:00:00 2001 From: blu3beri Date: Mon, 12 Dec 2022 15:33:14 +0100 Subject: [PATCH] updated anoncreds_demos Signed-off-by: blu3beri --- anoncreds/tests/anoncreds_demos.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/anoncreds/tests/anoncreds_demos.rs b/anoncreds/tests/anoncreds_demos.rs index 0816794f..61ad6ae1 100644 --- a/anoncreds/tests/anoncreds_demos.rs +++ b/anoncreds/tests/anoncreds_demos.rs @@ -13,10 +13,10 @@ use self::utils::anoncreds::{IssuerWallet, ProverWallet}; mod utils; -pub static GVT_SCHEMA_NAME: &'static str = "gvt"; -pub static GVT_SCHEMA_ATTRIBUTES: &[&'static str; 4] = &["name", "age", "sex", "height"]; pub static SCHEMA_ID: &str = "mock:uri"; pub static CRED_DEF_ID: &str = "mock:uri"; +pub const GVT_SCHEMA_NAME: &str = "gvt"; +pub const GVT_SCHEMA_ATTRIBUTES: &[&str; 4] = &["name", "age", "sex", "height"]; #[test] fn anoncreds_works_for_single_issuer_single_prover() { @@ -31,7 +31,6 @@ fn anoncreds_works_for_single_issuer_single_prover() { GVT_SCHEMA_NAME, "1.0", GVT_SCHEMA_ATTRIBUTES[..].into(), - None, ) .expect("Error creating gvt schema for issuer");