feature/upstream-service #13
@@ -78,25 +78,12 @@ pub async fn get_health_info(
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod 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 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::body::to_bytes;
|
||||||
use axum::{
|
use axum::{
|
||||||
Router,
|
Router,
|
||||||
|
|||||||
Reference in New Issue
Block a user