diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-10-31 12:52:44 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-10-31 19:13:50 +0300 |
commit | 8399de0c961be75d0cd90e59a7e89fabc11025b8 (patch) | |
tree | d4623bef5ee12e2ea9ca16f99f48c6eaae0a7992 /spec/lib/gitlab/saml/user_spec.rb | |
parent | bb63ee682aac171db00bfd2c37395fa1f77a3cae (diff) |
Normalize LDAP DN when looking up identity
Diffstat (limited to 'spec/lib/gitlab/saml/user_spec.rb')
-rw-r--r-- | spec/lib/gitlab/saml/user_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/saml/user_spec.rb b/spec/lib/gitlab/saml/user_spec.rb index 1c23fb5f285..1765980e977 100644 --- a/spec/lib/gitlab/saml/user_spec.rb +++ b/spec/lib/gitlab/saml/user_spec.rb @@ -7,7 +7,7 @@ describe Gitlab::Saml::User do let(:saml_user) { described_class.new(auth_hash) } let(:gl_user) { saml_user.gl_user } let(:uid) { 'my-uid' } - let(:dn) { 'uid=user1,ou=People,dc=example' } + let(:dn) { 'uid=user1,ou=people,dc=example' } let(:provider) { 'saml' } let(:raw_info_attr) { { 'groups' => %w(Developers Freelancers Designers) } } let(:auth_hash) { OmniAuth::AuthHash.new(uid: uid, provider: provider, info: info_hash, extra: { raw_info: OneLogin::RubySaml::Attributes.new(raw_info_attr) }) } |