()
| 1000 | |
| 1001 | #[test] |
| 1002 | fn test_store_delete() { |
| 1003 | let (_temp, mut store) = create_test_store(); |
| 1004 | |
| 1005 | let identity = Identity::generate("to-delete"); |
| 1006 | store.save(&identity).unwrap(); |
| 1007 | assert!(store.exists(&identity.id)); |
| 1008 | |
| 1009 | store.delete(&identity.id).unwrap(); |
| 1010 | assert!(!store.exists(&identity.id)); |
| 1011 | } |
| 1012 | |
| 1013 | #[test] |
| 1014 | fn test_store_default_identity() { |
nothing calls this directly
no test coverage detected