File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ fn test_confirm_user_email() {
514
514
515
515
// Simulate logging in via GitHub. Don't use app.db_new_user because it inserts a verified
516
516
// email directly into the database and we want to test the verification flow here.
517
- let email = "cow@mammals@milk " ;
517
+ let email = "potato2@example.com " ;
518
518
519
519
let user = app. db ( |conn| {
520
520
let u = NewUser {
@@ -535,7 +535,7 @@ fn test_confirm_user_email() {
535
535
user. confirm_email ( & email_token) ;
536
536
537
537
let json = user. show_me ( ) ;
538
- assert_eq ! ( json. user. email. unwrap( ) , "cow@mammals@milk " ) ;
538
+ assert_eq ! ( json. user. email. unwrap( ) , "potato2@example.com " ) ;
539
539
assert ! ( json. user. email_verified) ;
540
540
assert ! ( json. user. email_verification_sent) ;
541
541
}
You can’t perform that action at this time.
0 commit comments