refactor: use test configuration on import

Signed-off-by: Kushal Kumar <kushalkumargupta4@gmail.com>
This commit is contained in:
Kushal Kumar 2024-12-10 00:00:43 +05:30
parent c0aa018c87
commit 34254b42b6
2 changed files with 1 additions and 1 deletions

View File

@ -28,6 +28,7 @@ use crate::Opt;
pub mod documents; pub mod documents;
pub mod facet_search; pub mod facet_search;
pub mod search; pub mod search;
#[cfg(test)]
mod search_test; mod search_test;
mod search_analytics; mod search_analytics;
pub mod settings; pub mod settings;

View File

@ -1,4 +1,3 @@
#[cfg(test)]
pub mod search_test { pub mod search_test {
use crate::routes::indexes::search::fix_sort_query_parameters; use crate::routes::indexes::search::fix_sort_query_parameters;