We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53aff71 commit ecb1528Copy full SHA for ecb1528
crates/bitwarden-crypto/src/security_state.rs
@@ -168,7 +168,16 @@ mod tests {
168
.verify_and_unwrap(&verifying_key)
169
.unwrap();
170
171
- assert_eq!(verified_security_state.entity_id, user_id.to_string());
+ assert_eq!(
172
+ uuid::Uuid::from_bytes(
173
+ verified_security_state
174
+ .entity_id
175
+ .as_ref()
176
+ .try_into()
177
+ .unwrap()
178
+ ),
179
+ user_id
180
+ );
181
assert_eq!(verified_security_state.version, 1);
182
}
183
0 commit comments