Commit 7ac75847 authored by Marc Shaw's avatar Marc Shaw

Fix depreciation warning for positional args for login spec

Issue: gitlab.com/gitlab-org/gitlab/-/issues/258994
parent f0e61d9b
......@@ -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