Commit 87ae744d authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixes test according to r4493.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4498 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 2066b2f6
......@@ -25,7 +25,7 @@ class AdminTest < ActionController::IntegrationTest
get "/users/new"
assert_response :success
assert_template "users/new"
post "/users/create", :user => { :login => "psmith", :firstname => "Paul", :lastname => "Smith", :mail => "psmith@somenet.foo", :language => "en" }, :password => "psmith09", :password_confirmation => "psmith09"
post "/users/create", :user => { :login => "psmith", :firstname => "Paul", :lastname => "Smith", :mail => "psmith@somenet.foo", :language => "en", :password => "psmith09", :password_confirmation => "psmith09" }
user = User.find_by_login("psmith")
assert_kind_of User, user
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment