summaryrefslogtreecommitdiff
path: root/src/user/routes/password
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/routes/password')
-rw-r--r--src/user/routes/password/test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/routes/password/test.rs b/src/user/routes/password/test.rs
index 01dcb38..f977327 100644
--- a/src/user/routes/password/test.rs
+++ b/src/user/routes/password/test.rs
@@ -10,13 +10,13 @@ use crate::{
async fn password_change() {
// Set up the environment
let app = fixtures::scratch_app().await;
- let creds = fixtures::login::create_with_password(&app, &fixtures::now()).await;
+ let creds = fixtures::user::create_with_password(&app, &fixtures::now()).await;
let cookie = fixtures::cookie::logged_in(&app, &creds, &fixtures::now()).await;
let identity = fixtures::identity::from_cookie(&app, &cookie, &fixtures::now()).await;
// Call the endpoint
let (name, password) = creds;
- let to = fixtures::login::propose_password();
+ let to = fixtures::user::propose_password();
let request = post::Request {
password: password.clone(),
to: to.clone(),