1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Fix handlers tests

This commit is contained in:
Quentin Gliech
2022-10-06 14:34:19 +02:00
parent f687ae4ac4
commit fc5c8314b5

View File

@ -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())?;