From 0a3702e1d0107421d6c2231b1f2c5d6d3f9f4ced Mon Sep 17 00:00:00 2001 From: James Sumners Date: Tue, 21 Feb 2023 13:57:48 -0500 Subject: [PATCH] Fix search attributes --- package.json | 2 +- test/client.test.js | 2 +- test/laundry.test.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 909a5b2..60689e3 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/client.test.js b/test/client.test.js index be5d24b..2ae4a22 100644 --- a/test/client.test.js +++ b/test/client.test.js @@ -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) diff --git a/test/laundry.test.js b/test/laundry.test.js index 959a748..909bc9d 100644 --- a/test/laundry.test.js +++ b/test/laundry.test.js @@ -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) })