(public_key: Option<String>)
| 669 | } |
| 670 | |
| 671 | fn info_with_key(public_key: Option<String>) -> IdentityInfo { |
| 672 | IdentityInfo { |
| 673 | id: uuid::Uuid::nil(), |
| 674 | name: "tester".to_string(), |
| 675 | status: "active".to_string(), |
| 676 | created_at: chrono::Utc::now(), |
| 677 | public_key, |
| 678 | } |
| 679 | } |
| 680 | |
| 681 | #[test] |
| 682 | fn did_binding_accepts_the_key_it_fingerprints() { |
no outgoing calls