Commit ed07faf2 authored by Michael Kozono's avatar Michael Kozono

Remove telephoneNumber format comment

Since that behavior changed, and is now under the malformed DN context.
parent 689eea5a
...@@ -6,12 +6,6 @@ describe Gitlab::LDAP::DN do ...@@ -6,12 +6,6 @@ describe Gitlab::LDAP::DN do
describe '#to_normalized_s' do describe '#to_normalized_s' do
subject { described_class.new(given).to_normalized_s } subject { described_class.new(given).to_normalized_s }
# Regarding the telephoneNumber test:
#
# I am not sure whether a space after the telephoneNumber plus sign is valid,
# and I am not sure if this is "proper" behavior under these conditions, and
# I am not sure if it matters to us or anyone else, so rather than dig
# through RFCs, I am only documenting the behavior here.
where(:test_description, :given, :expected) do where(:test_description, :given, :expected) do
'strips extraneous whitespace' | 'uid =John Smith , ou = People, dc= example,dc =com' | 'uid=john smith,ou=people,dc=example,dc=com' 'strips extraneous whitespace' | 'uid =John Smith , ou = People, dc= example,dc =com' | 'uid=john smith,ou=people,dc=example,dc=com'
'strips extraneous whitespace for a DN with a single RDN' | 'uid = John Smith' | 'uid=john smith' 'strips extraneous whitespace for a DN with a single RDN' | 'uid = John Smith' | 'uid=john smith'
......
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