Fix the no-analytics flag in the tests

This commit is contained in:
Clément Renault 2021-12-08 12:02:18 +01:00
parent 47d5f659e0
commit 6ac2475aba
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -98,7 +98,7 @@ pub fn default_settings(dir: impl AsRef<Path>) -> Opt {
master_key: None,
env: "development".to_owned(),
#[cfg(all(not(debug_assertions), feature = "analytics"))]
no_analytics: true,
no_analytics: Some(Some(true)),
max_index_size: Byte::from_unit(4.0, ByteUnit::GiB).unwrap(),
max_task_db_size: Byte::from_unit(4.0, ByteUnit::GiB).unwrap(),
http_payload_size_limit: Byte::from_unit(10.0, ByteUnit::MiB).unwrap(),