test: explicitly set config.paste.default_expiry

This commit is contained in:
Helmut K. C. Tessarek 2024-03-07 19:20:05 -05:00
parent 3547c079e7
commit 46c6ed43d4
No known key found for this signature in database
GPG Key ID: BE0985349D44DD00
1 changed files with 1 additions and 0 deletions

View File

@ -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,