From a44e4b127dae021b8a7fb98c7751b4725e404ec3 Mon Sep 17 00:00:00 2001 From: dal Date: Mon, 7 Apr 2025 16:15:38 -0600 Subject: [PATCH] Fix import for AuthenticatedUser in tests --- api/libs/handlers/tests/metrics/update_metric_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/libs/handlers/tests/metrics/update_metric_test.rs b/api/libs/handlers/tests/metrics/update_metric_test.rs index 158ea886e..3c1f391c6 100644 --- a/api/libs/handlers/tests/metrics/update_metric_test.rs +++ b/api/libs/handlers/tests/metrics/update_metric_test.rs @@ -2,7 +2,7 @@ use anyhow::Result; use database::enums::{AssetPermissionRole, AssetType, UserOrganizationRole, Verification}; use database::models::MetricFile; use database::schema::metric_files; -use database::tests::common::users::AuthenticatedUser; +use middleware::AuthenticatedUser; use diesel::prelude::*; use diesel_async::RunQueryDsl; use handlers::metrics::update_metric_handler::{update_metric_handler, UpdateMetricRequest};