v0.34.5
This commit is contained in:
1 parent
3776edf4fc
commit
7cfc3a6da1
35 files changed
+1377
-875
No files matched your search
+3
-2
@@ -456,7 +456,9 @@ mod tests {
|
||||
assert!(blocked.forced_mismatches.is_empty());
|
||||
vhost.allow_certificate_mismatch = true;
|
||||
let forced = for_vhosts(&settings, &config.vhosts).unwrap();
|
||||
assert!(forced.forced_mismatches.contains(&("named".into(), "other.example.test".into())));
|
||||
assert!(forced
|
||||
.forced_mismatches
|
||||
.contains(&("named".into(), "other.example.test".into())));
|
||||
assert!(compile(&forced, Some(dir.path())).is_ok());
|
||||
let saved = serde_json::to_value(&forced).unwrap();
|
||||
assert!(saved.get("forced_mismatches").is_none());
|
||||
@@ -472,5 +474,4 @@ mod tests {
|
||||
let partial = for_vhosts(&settings, &config.vhosts).unwrap();
|
||||
assert!(compile(&partial, Some(dir.path())).is_err());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user