Use 8+ characters long passwords in tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10886 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-11-27 21:52:38 +00:00
parent 14e56006a1
commit e43448f6ca
7 changed files with 42 additions and 42 deletions
+3 -3
View File
@@ -102,7 +102,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest
@parameters = {
:user => {
:login => 'foo', :firstname => 'Firstname', :lastname => 'Lastname',
:mail => 'foo@example.net', :password => 'secret',
:mail => 'foo@example.net', :password => 'secret123',
:mail_notification => 'only_assigned'
}
}
@@ -113,7 +113,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest
'/users.xml',
{:user => {
:login => 'foo', :firstname => 'Firstname', :lastname => 'Lastname',
:mail => 'foo@example.net', :password => 'secret'
:mail => 'foo@example.net', :password => 'secret123'
}},
{:success_code => :created})
@@ -129,7 +129,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest
assert_equal 'foo@example.net', user.mail
assert_equal 'only_assigned', user.mail_notification
assert !user.admin?
assert user.check_password?('secret')
assert user.check_password?('secret123')
assert_response :created
assert_equal 'application/xml', @response.content_type