From fd6a74e8ca1f5ded2a760b8ac644124862d80d54 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Sun, 24 Aug 2025 01:12:06 -0400 Subject: Hoist `password` out to the top level. Having this buried under `crate::user` makes it hard to split up the roles `user` fulfils right now. Moving it out to its own module makes it a bit tidier to reuse it in a separate, authentication-only way. --- src/test/fixtures/user.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/fixtures/user.rs') diff --git a/src/test/fixtures/user.rs b/src/test/fixtures/user.rs index 6448f64..086f866 100644 --- a/src/test/fixtures/user.rs +++ b/src/test/fixtures/user.rs @@ -5,7 +5,8 @@ use crate::{ app::App, clock::RequestedAt, name::Name, - user::{self, Password, User}, + password::Password, + user::{self, User}, }; pub async fn create_with_password(app: &App, created_at: &RequestedAt) -> (Name, Password) { -- cgit v1.2.3