File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Security/Authentication/Negotiate/test/Negotiate.Test Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,31 +8,31 @@ public class LdapAdapterTests
88 [ Fact ]
99 public void DistinguishedNameWithoutCommasSuccess ( )
1010 {
11- var parts = LdapAdapter . DistinguishedNameSeparator ( ) . Split ( "Testing group - City" ) ;
11+ var parts = LdapAdapter . DistinguishedNameSeparatorRegex . Split ( "Testing group - City" ) ;
1212
1313 Assert . Equal ( new [ ] { "Testing group - City" } , parts ) ;
1414 }
1515
1616 [ Fact ]
1717 public void DistinguishedNameWithEscapedCommaSuccess ( )
1818 {
19- var parts = LdapAdapter . DistinguishedNameSeparator ( ) . Split ( @"Testing group\,City" ) ;
19+ var parts = LdapAdapter . DistinguishedNameSeparatorRegex . Split ( @"Testing group\,City" ) ;
2020
2121 Assert . Equal ( new [ ] { @"Testing group\,City" } , parts ) ;
2222 }
2323
2424 [ Fact ]
2525 public void DistinguishedNameWithNotEscapedCommaSuccess ( )
2626 {
27- var parts = LdapAdapter . DistinguishedNameSeparator ( ) . Split ( "Testing group,City" ) ;
27+ var parts = LdapAdapter . DistinguishedNameSeparatorRegex . Split ( "Testing group,City" ) ;
2828
2929 Assert . Equal ( new [ ] { "Testing group" , "City" } , parts ) ;
3030 }
3131
3232 [ Fact ]
3333 public void DistinguishedNameWithEscapedBackslashAndNotEscapedCommaSuccess ( )
3434 {
35- var parts = LdapAdapter . DistinguishedNameSeparator ( ) . Split ( @"Testing group\\,City" ) ;
35+ var parts = LdapAdapter . DistinguishedNameSeparatorRegex . Split ( @"Testing group\\,City" ) ;
3636
3737 Assert . Equal ( new [ ] { @"Testing group\\" , "City" } , parts ) ;
3838 }
You can’t perform that action at this time.
0 commit comments