refactor: clean up test module imports in health info endpoint
This commit is contained in:
@@ -78,25 +78,12 @@ pub async fn get_health_info(
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use crate::configs::FromConfig;
|
||||
use crate::services::agent_client::AgentService;
|
||||
use crate::services::get_app_service;
|
||||
use crate::{
|
||||
routes::{AppState, api::health::state::HealthState},
|
||||
services::{
|
||||
auth::{
|
||||
authentication::{
|
||||
AuthenticationServiceImpl, strategies::password::PasswordStrategy,
|
||||
},
|
||||
user::UserServiceImpl,
|
||||
},
|
||||
server_state::ServerStateService,
|
||||
settings::SettingsService,
|
||||
},
|
||||
};
|
||||
|
||||
use super::*;
|
||||
use agent_client::apis::configuration::Configuration;
|
||||
|
||||
use crate::configs::FromConfig;
|
||||
use crate::routes::{AppState, api::health::state::HealthState};
|
||||
use crate::services::get_app_service;
|
||||
|
||||
use axum::body::to_bytes;
|
||||
use axum::{
|
||||
Router,
|
||||
|
||||
Reference in New Issue
Block a user