X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a6f45adede24e47b113dcf0f33e701478076f1b7..e756dbae7f3715561de5688e6503b60fdfe0327d:/test/integration/user_blocks_test.rb?ds=sidebyside diff --git a/test/integration/user_blocks_test.rb b/test/integration/user_blocks_test.rb index b4ca49022..7003d7692 100644 --- a/test/integration/user_blocks_test.rb +++ b/test/integration/user_blocks_test.rb @@ -39,7 +39,7 @@ class UserBlocksTest < ActionController::IntegrationTest # revoke the ban get '/login' assert_response :success - post '/login', {'user[email]' => moderator.email, 'user[password]' => "test", :referer => "/blocks/#{block.id}/revoke"} + post '/login', {'username' => moderator.email, 'password' => "test", :referer => "/blocks/#{block.id}/revoke"} assert_response :redirect follow_redirect! assert_response :success