test: explicitly set config.paste.default_expiry
This commit is contained in:
parent
3547c079e7
commit
46c6ed43d4
|
@ -894,6 +894,7 @@ mod tests {
|
|||
let mut config = Config::default();
|
||||
config.server.upload_path = PathBuf::from(&test_upload_dir);
|
||||
config.paste.duplicate_files = Some(false);
|
||||
config.paste.default_expiry = None;
|
||||
config.paste.random_url = Some(RandomURLConfig {
|
||||
enabled: Some(true),
|
||||
type_: RandomURLType::Alphanumeric,
|
||||
|
|
Loading…
Reference in New Issue