mirror of
https://github.com/redmine/redmine.git
synced 2025-11-16 10:16:03 +01:00
Fix random test failure in UserTest#test_validate_password_complexity due to missing explicit language setting (#41914).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23345 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -564,6 +564,7 @@ class UserTest < ActiveSupport::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_validate_password_complexity
|
def test_validate_password_complexity
|
||||||
|
set_language_if_valid 'en'
|
||||||
user = users(:users_002)
|
user = users(:users_002)
|
||||||
bad_passwords = [
|
bad_passwords = [
|
||||||
user.login,
|
user.login,
|
||||||
|
|||||||
Reference in New Issue
Block a user