From: Andy Allan Date: Wed, 13 May 2020 16:15:07 +0000 (+0200) Subject: Remove unused test helper X-Git-Tag: live~2735^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/7485b49a3afb5c414249bc288d38396dce49ba15?hp=3a16c465f7c3244fd40dccd5ca9d7ec0fbf4af90 Remove unused test helper --- 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)