Migration implementation (part 1)
This commit is contained in:
@@ -43,10 +43,12 @@ pub async fn test(params: &mut JMAPTest) {
|
||||
EncryptionMethod::PGP => EncryptionType::PGP {
|
||||
algo,
|
||||
certs: certs.clone(),
|
||||
allow_spam_training: true,
|
||||
},
|
||||
EncryptionMethod::SMIME => EncryptionType::SMIME {
|
||||
algo,
|
||||
certs: certs.clone(),
|
||||
allow_spam_training: true,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@ async fn strategies() {
|
||||
env_id: None,
|
||||
priority: 0,
|
||||
size: 978,
|
||||
quota_keys: vec![],
|
||||
quota_keys: Default::default(),
|
||||
};
|
||||
|
||||
assert_eq!(
|
||||
|
||||
@@ -86,7 +86,7 @@ async fn generate_dsn() {
|
||||
env_id: None,
|
||||
priority: 0,
|
||||
blob_hash: BlobHash::generate(dsn_original.as_bytes()),
|
||||
quota_keys: vec![],
|
||||
quota_keys: Default::default(),
|
||||
received_from_ip: IpAddr::V4(Ipv4Addr::LOCALHOST),
|
||||
received_via_port: 0,
|
||||
},
|
||||
|
||||
@@ -175,7 +175,7 @@ pub fn new_message(queue_id: u64) -> MessageWrapper {
|
||||
flags: 0,
|
||||
env_id: None,
|
||||
priority: 0,
|
||||
quota_keys: vec![],
|
||||
quota_keys: Default::default(),
|
||||
blob_hash: Default::default(),
|
||||
received_from_ip: IpAddr::V4(Ipv4Addr::LOCALHOST),
|
||||
received_via_port: 0,
|
||||
|
||||
Reference in New Issue
Block a user