X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/81f5c72c76f36e7c712bac0ad54b37d945caa51f..e756dbae7f3715561de5688e6503b60fdfe0327d:/test/integration/user_blocks_test.rb diff --git a/test/integration/user_blocks_test.rb b/test/integration/user_blocks_test.rb index 942a94302..7003d7692 100644 --- a/test/integration/user_blocks_test.rb +++ b/test/integration/user_blocks_test.rb @@ -38,9 +38,6 @@ class UserBlocksTest < ActionController::IntegrationTest # revoke the ban get '/login' - assert_response :redirect - assert_redirected_to "controller" => "user", "action" => "login", "cookie_test" => "true" - follow_redirect! assert_response :success post '/login', {'username' => moderator.email, 'password' => "test", :referer => "/blocks/#{block.id}/revoke"} assert_response :redirect