test: Refactor test utility configure_mock_auth
The login helper allows passing the parameter `additional_info` that is intended to be merged with the other OAuth ID token claims. Unfortunately, this is not working because the following error is raised when passing additional info: ```console NoMethodError: undefined method `merge' for #<OneLogin::RubySaml::Attributes> ``` EE: true Changelog: other
显示
- ee/spec/lib/gitlab/auth/group_saml/auth_hash_spec.rb 1 个添加, 1 个删除ee/spec/lib/gitlab/auth/group_saml/auth_hash_spec.rb
- ee/spec/lib/gitlab/auth/saml/user_spec.rb 1 个添加, 1 个删除ee/spec/lib/gitlab/auth/saml/user_spec.rb
- spec/lib/gitlab/auth/saml/auth_hash_spec.rb 1 个添加, 1 个删除spec/lib/gitlab/auth/saml/auth_hash_spec.rb
- spec/support/helpers/login_helpers.rb 1 个添加, 1 个删除spec/support/helpers/login_helpers.rb
加载中
想要评论请 注册 或 登录