From 7485b49a3afb5c414249bc288d38396dce49ba15 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 13 May 2020 18:15:07 +0200 Subject: [PATCH] Remove unused test helper --- test/test_helper.rb | 6 ------ 1 file changed, 6 deletions(-) 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) -- 2.39.5