summaryrefslogtreecommitdiff
path: root/src/invite/handlers/accept
diff options
context:
space:
mode:
Diffstat (limited to 'src/invite/handlers/accept')
-rw-r--r--src/invite/handlers/accept/test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invite/handlers/accept/test.rs b/src/invite/handlers/accept/test.rs
index 4e4a09d..283ec76 100644
--- a/src/invite/handlers/accept/test.rs
+++ b/src/invite/handlers/accept/test.rs
@@ -44,8 +44,8 @@ async fn valid_invite() {
// Verify that the given credentials can log in
let secret = app
- .tokens()
- .login(&name, &password, &fixtures::now())
+ .logins()
+ .with_password(&name, &password, &fixtures::now())
.await
.expect("credentials given on signup are valid");
verify::token::valid_for_name(&app, &secret, &name).await;