summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-12-02 00:18:36 +0000
committerGo MAEDA <maeda@farend.jp>2024-12-02 00:18:36 +0000
commit935df66094332d509a2021de86966a7d88ec6ab0 (patch)
tree480127442988ac358fcdd2af24ce72b2f2df4046
parent096fcbf4aaa864792d835ea73cc75ae91de675f8 (diff)
downloadredmine-935df66094332d509a2021de86966a7d88ec6ab0.tar.gz
redmine-935df66094332d509a2021de86966a7d88ec6ab0.zip
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
-rw-r--r--test/unit/user_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index 69a79b465..5698a1b8d 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -564,6 +564,7 @@ class UserTest < ActiveSupport::TestCase
end
def test_validate_password_complexity
+ set_language_if_valid 'en'
user = users(:users_002)
bad_passwords = [
user.login,