Skip to content

Commit

Permalink
test: return real certificate to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Slesarew committed Oct 25, 2021
1 parent 11613d4 commit 738cdf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/db_handling/src/identities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ mod tests {
signer_init_with_cert(dbname).unwrap();
let history_printed = print_history(dbname).unwrap();
let element1 = r#"{"event":"database_initiated"}"#;
let element2 = r#"{"event":"general_verifier_added","payload":{"hex":"d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d","encryption":"sr25519"}}"#;
let element2 = r#"{"event":"general_verifier_added","payload":{"hex":"c46a22b9da19540a77cbde23197e5fd90485c72b4ecf3c599ecca6998f39bd57","encryption":"sr25519"}}"#;
assert!(history_printed.contains(element1), "\nReal history:\n{}", history_printed);
assert!(history_printed.contains(element2), "\nReal history:\n{}", history_printed);
try_create_seed("Alice", SEED, 0, dbname).unwrap();
Expand Down

0 comments on commit 738cdf6

Please sign in to comment.