Fix search attributes
This commit is contained in:
parent
9038aeb73e
commit
0a3702e1d0
|
@ -17,7 +17,7 @@
|
|||
"@ldapjs/controls": "2.0.0-rc.1",
|
||||
"@ldapjs/dn": "1.0.0-rc.1",
|
||||
"@ldapjs/filter": "2.0.0-rc.5",
|
||||
"@ldapjs/messages": "1.0.0-rc.2",
|
||||
"@ldapjs/messages": "1.0.0-rc.3",
|
||||
"@ldapjs/protocol": "^1.0.0",
|
||||
"abstract-logging": "^2.0.0",
|
||||
"assert-plus": "^1.0.0",
|
||||
|
|
|
@ -1253,7 +1253,7 @@ tap.test('GH-21 binary attributes', function (t) {
|
|||
tap.test('GH-23 case insensitive attribute filtering', function (t) {
|
||||
const opts = {
|
||||
filter: '(objectclass=*)',
|
||||
attributes: ['@Cn']
|
||||
attributes: ['Cn']
|
||||
}
|
||||
t.context.client.search('cn=test, ' + SUFFIX, opts, function (err, res) {
|
||||
t.error(err)
|
||||
|
|
|
@ -118,7 +118,7 @@ tap.test('GH-49 Client errors on bad attributes', function (t) {
|
|||
const searchOpts = {
|
||||
filter: 'cn=*ogo*',
|
||||
scope: 'one',
|
||||
attributes: '@dn'
|
||||
attributes: 'dn'
|
||||
}
|
||||
return search(t, searchOpts)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue