diff --git a/src/environment.rs b/src/environment.rs index 946412604..57f89deb9 100644 --- a/src/environment.rs +++ b/src/environment.rs @@ -132,15 +132,4 @@ mod tests { let e: Environment = "custom".to_string().into(); assert_eq!(e, Environment::Any("custom".to_string())); } - - #[test] - #[cfg(not(any( - feature = "openapi_swagger", - feature = "openapi_redoc", - feature = "openapi_scalar" - )))] - fn test_from_folder() { - let config = Environment::Development.load_from_folder(Path::new("examples/demo/config")); - assert!(config.is_ok()); - } }