diff --git a/core/src/location/indexer/rules.rs b/core/src/location/indexer/rules.rs index c3c71e14a..19f336716 100644 --- a/core/src/location/indexer/rules.rs +++ b/core/src/location/indexer/rules.rs @@ -454,18 +454,6 @@ pub struct IndexerRule { } impl IndexerRule { - #[cfg(test)] - pub fn new(name: String, default: bool, rules: Vec) -> Self { - Self { - id: None, - name, - default, - rules, - date_created: Utc::now(), - date_modified: Utc::now(), - } - } - pub async fn apply( &self, source: impl AsRef,