mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 06:16:30 +03:00
refactor: Remove unneeded dbg! statements (#7776)
I forgot to remove these back when I implemented the v2 migration, and they sometimes annoy me when I grep for `dbg`.
This commit is contained in:
@@ -96,9 +96,6 @@ async fn test_key_contacts_migration_email1() -> Result<()> {
|
|||||||
assert_eq!(email_bob.fingerprint(), None);
|
assert_eq!(email_bob.fingerprint(), None);
|
||||||
assert_eq!(email_bob.get_verifier_id(&t).await?, None);
|
assert_eq!(email_bob.get_verifier_id(&t).await?, None);
|
||||||
|
|
||||||
let bob_chat_contacts = chat::get_chat_contacts(&t, ChatId::new(10)).await?;
|
|
||||||
dbg!(&bob_chat_contacts);
|
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -137,9 +134,6 @@ async fn test_key_contacts_migration_email2() -> Result<()> {
|
|||||||
assert_eq!(email_bob.fingerprint(), None);
|
assert_eq!(email_bob.fingerprint(), None);
|
||||||
assert_eq!(email_bob.get_verifier_id(&t).await?, None);
|
assert_eq!(email_bob.get_verifier_id(&t).await?, None);
|
||||||
|
|
||||||
let bob_chat_contacts = chat::get_chat_contacts(&t, ChatId::new(10)).await?;
|
|
||||||
dbg!(&bob_chat_contacts);
|
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -176,7 +170,6 @@ async fn test_key_contacts_migration_verified() -> Result<()> {
|
|||||||
let pgp_bob_id = bob_chat_contacts[0];
|
let pgp_bob_id = bob_chat_contacts[0];
|
||||||
|
|
||||||
let pgp_bob = Contact::get_by_id(&t, pgp_bob_id).await?;
|
let pgp_bob = Contact::get_by_id(&t, pgp_bob_id).await?;
|
||||||
dbg!(&pgp_bob);
|
|
||||||
assert_eq!(pgp_bob.origin, Origin::OutgoingTo);
|
assert_eq!(pgp_bob.origin, Origin::OutgoingTo);
|
||||||
assert_eq!(pgp_bob.e2ee_avail(&t).await?, true);
|
assert_eq!(pgp_bob.e2ee_avail(&t).await?, true);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
|
|||||||
Reference in New Issue
Block a user