Merge pull request #530 from ldapjs/fix-priv

Fix privileged port access in tests
This commit is contained in:
James Sumners 2019-08-27 08:07:13 -04:00 committed by GitHub
commit 0eca4b6dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ test('non-strict routing', function (t) {
test('close without error calls callback', function (t) {
server = ldap.createServer();
// when the server is closed without error, the callback parameter is undefined
server.listen(389,'127.0.0.1',function(err){
server.listen(1389,'127.0.0.1',function(err){
server.close(function(err){
t.error(err);
t.end();