From fc5c8314b525d9b0718f8f021026540fb61cab5b Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Thu, 6 Oct 2022 14:34:19 +0200 Subject: [PATCH] Fix handlers tests --- crates/handlers/src/health.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/handlers/src/health.rs b/crates/handlers/src/health.rs index da13c286..18665f9b 100644 --- a/crates/handlers/src/health.rs +++ b/crates/handlers/src/health.rs @@ -39,7 +39,7 @@ mod tests { #[sqlx::test(migrator = "mas_storage::MIGRATOR")] async fn test_get_health(pool: PgPool) -> Result<(), anyhow::Error> { let state = crate::test_state(pool).await?; - let app = crate::api_router(state); + let app = crate::router(state); let request = Request::builder().uri("/health").body(Body::empty())?;