diff --git a/src/user/mod.rs b/src/user/mod.rs index ba0d30a..9f883d6 100644 --- a/src/user/mod.rs +++ b/src/user/mod.rs @@ -36,7 +36,6 @@ pub struct Organization { pub created: Option, } - #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct UserLoginHistory { pub id: uuid::Uuid, @@ -53,7 +52,6 @@ pub struct ServiceUserLoginHistory { pub service_user_id: uuid::Uuid, } - #[derive(Clone, Debug, Default, Deserialize, Serialize)] pub struct UserProfile { pub user_id: uuid::Uuid, @@ -79,7 +77,6 @@ pub fn init_user_profile(usr: &User) -> UserProfile { } } - #[cfg(test)] mod tests { #[test] @@ -97,6 +94,9 @@ mod tests { }; let profile = super::init_user_profile(&usr); - assert_eq!(usr.phone_number, profile.phone_number, "Phone numbers are not equal"); + assert_eq!( + usr.phone_number, profile.phone_number, + "Phone numbers are not equal" + ); } }