v0.2.6-pre.010
This commit is contained in:
13
crates/ksp-app-wallet-desk/unit_tests/wallet_security.rs
Normal file
13
crates/ksp-app-wallet-desk/unit_tests/wallet_security.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
// file: crates/ksp-app-wallet-desk/unit_tests/wallet_security.rs
|
||||
// version: 1
|
||||
|
||||
#[test]
|
||||
fn password_rotation_request_is_deserializable_without_copy_contracts() {
|
||||
fn assert_deserializable<T>(_marker: std::marker::PhantomData<T>)
|
||||
where
|
||||
T: serde::de::DeserializeOwned,
|
||||
{
|
||||
return;
|
||||
}
|
||||
assert_deserializable(std::marker::PhantomData::<crate::WalletPasswordRotationRequestDto>);
|
||||
}
|
||||
Reference in New Issue
Block a user