We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3be2b55 commit 59f7169Copy full SHA for 59f7169
src/tests/user.rs
@@ -514,7 +514,7 @@ fn test_confirm_user_email() {
514
515
// Simulate logging in via GitHub. Don't use app.db_new_user because it inserts a verified
516
// email directly into the database and we want to test the verification flow here.
517
- let email = "cow@mammals@milk";
+ let email = "[email protected]";
518
519
let user = app.db(|conn| {
520
let u = NewUser {
@@ -535,7 +535,7 @@ fn test_confirm_user_email() {
535
user.confirm_email(&email_token);
536
537
let json = user.show_me();
538
- assert_eq!(json.user.email.unwrap(), "cow@mammals@milk");
+ assert_eq!(json.user.email.unwrap(), "[email protected]");
539
assert!(json.user.email_verified);
540
assert!(json.user.email_verification_sent);
541
}
0 commit comments