Commit 4ef0c688 authored by Robert Speicher's avatar Robert Speicher

Remove unused `skip_ci_admin_auth` helper

parent b638e45c
...@@ -84,8 +84,4 @@ module LoginHelpers ...@@ -84,8 +84,4 @@ module LoginHelpers
def logout_direct def logout_direct
page.driver.submit :delete, '/users/sign_out', {} page.driver.submit :delete, '/users/sign_out', {}
end end
def skip_ci_admin_auth
allow_any_instance_of(Ci::Admin::ApplicationController).to receive_messages(authenticate_admin!: true)
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment