fmt
Some checks failed
CI / Check / Test (push) Has been cancelled

This commit is contained in:
2026-06-10 03:24:17 +02:00
parent deae83cfd1
commit 6e21ec115d
6 changed files with 38 additions and 9 deletions

View File

@@ -61,5 +61,8 @@ async fn test_register_short_password_fails() {
)
.await;
let err = result.unwrap_err().to_string();
assert!(err.contains("8 characters"), "expected password length error, got: {err}");
assert!(
err.contains("8 characters"),
"expected password length error, got: {err}"
);
}

View File

@@ -1,4 +1,6 @@
use domain::{errors::DomainError, events::DomainEvent, models::UserProfile, value_objects::UserId};
use domain::{
errors::DomainError, events::DomainEvent, models::UserProfile, value_objects::UserId,
};
use crate::{context::AppContext, users::commands::UpdateProfileFieldsCommand};

View File

@@ -13,7 +13,11 @@ pub async fn execute(
.wrapup_stats
.get_reviews_with_profiles(&query.scope, &query.date_range)
.await?;
Ok(wrapup_analyzer::build_report(query.scope, query.date_range, &rows))
Ok(wrapup_analyzer::build_report(
query.scope,
query.date_range,
&rows,
))
}
#[cfg(test)]