Commit f20bdc4f authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'fix_login_spec_keyword_args' into 'master'

Fix depreciation warning for positional args

See merge request gitlab-org/gitlab!48808
parents 5848160c 7ac75847
......@@ -198,7 +198,7 @@ module LoginHelpers
env['omniauth.error.strategy'] = strategy
end
def stub_omniauth_saml_config(messages, context: Rails.application)
def stub_omniauth_saml_config(context: Rails.application, **messages)
set_devise_mapping(context: context)
routes = Rails.application.routes
routes.disable_clear_and_finalize = true
......
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