mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
FIX: Staged users are still missing primary email.
This commit is contained in:
@ -2031,9 +2031,10 @@ describe UsersController do
|
||||
user = Fabricate(:inactive_user)
|
||||
token = user.email_tokens.first
|
||||
|
||||
xhr :put, :update_activation_email, username: user.username,
|
||||
password: 'qwerqwer123',
|
||||
email: 'updatedemail@example.com'
|
||||
xhr :put, :update_activation_email,
|
||||
username: user.username,
|
||||
password: 'qwerqwer123',
|
||||
email: 'updatedemail@example.com'
|
||||
|
||||
expect(response).to be_success
|
||||
|
||||
|
Reference in New Issue
Block a user