Skip to content

Commit

Permalink
updated anoncreds_demos
Browse files Browse the repository at this point in the history
Signed-off-by: blu3beri <[email protected]>
  • Loading branch information
berendsliedrecht committed Jan 3, 2023
1 parent d4702f9 commit cb58891
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions anoncreds/tests/anoncreds_demos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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");

Expand Down

0 comments on commit cb58891

Please sign in to comment.