Skip to content

Commit

Permalink
remove demo app test
Browse files Browse the repository at this point in the history
  • Loading branch information
NexVeridian committed Jan 16, 2025
1 parent b492d68 commit 970e6c6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 182 deletions.
170 changes: 0 additions & 170 deletions examples/demo/config/OpenAPI.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions src/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,4 @@ mod tests {
let config = Environment::Development.load_from_folder(Path::new("examples/demo/config"));
assert!(config.is_ok());
}

#[test]
#[cfg(any(
feature = "openapi_swagger",
feature = "openapi_redoc",
feature = "openapi_scalar"
))]
fn test_from_folder_openapi() {
let config = Environment::Any("OpenAPI".to_string())
.load_from_folder(Path::new("examples/demo/config"));
assert!(config.is_ok());
}
}

0 comments on commit 970e6c6

Please sign in to comment.