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");