diff --git a/dozer-ingestion/src/test_util.rs b/dozer-ingestion/src/test_util.rs index aab6bf7806..3c6f825c0e 100644 --- a/dozer-ingestion/src/test_util.rs +++ b/dozer-ingestion/src/test_util.rs @@ -1,5 +1,8 @@ use include_dir::{include_dir, Dir}; +#[cfg(not(doc))] static TESTS_CONFIG_DIR: Dir<'_> = include_dir!("config/tests/local"); +#[cfg(doc)] +static TESTS_CONFIG_DIR: Dir<'_> = include_dir!("../config/tests/local"); pub fn load_config(file_name: &str) -> &str { TESTS_CONFIG_DIR