Use a pending user for testing password resets.
This commit is contained in:
parent
3d8dc64b9c
commit
8d2d6e1a52
1 changed files with 1 additions and 1 deletions
|
@ -733,7 +733,7 @@ class UserControllerTest < ActionController::TestCase
|
|||
end
|
||||
|
||||
def test_reset_password
|
||||
user = create(:user)
|
||||
user = create(:user, :pending)
|
||||
# Test a request with no token
|
||||
get :reset_password
|
||||
assert_response :bad_request
|
||||
|
|
Loading…
Add table
Reference in a new issue