X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dbf0147d21903899e64cd88afb6bb66b8836097f..d449bfb48326dbe5de15fadaaf0d4442678b384f:/test/test_helper.rb?ds=inline diff --git a/test/test_helper.rb b/test/test_helper.rb index c02b23728..9354e6646 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -115,12 +115,6 @@ module ActiveSupport assert_equal a.tags, b.tags, "tags on node #{a.id}" end - ## - # set request headers for HTTP basic authentication - def basic_authorization(user, pass) - @request.env["HTTP_AUTHORIZATION"] = format("Basic %{auth}", :auth => Base64.encode64("#{user}:#{pass}")) - end - ## # return request header for HTTP Basic Authorization def basic_authorization_header(user, pass)