rename ldap.js to ldapserver.js

this makes it clearer it is server module and not some generic ldap thing
This commit is contained in:
Girish Ramakrishnan
2024-01-06 13:29:23 +01:00
parent e13f427267
commit 7bb68ea6b5
4 changed files with 9 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ const apps = require('../../apps.js'),
hat = require('../../hat.js'),
hock = require('hock'),
http = require('http'),
ldap = require('../../ldap.js'),
ldapServer = require('../../ldapserver.js'),
net = require('net'),
nock = require('nock'),
path = require('path'),
@@ -139,7 +139,7 @@ function startBox(done) {
database.initialize,
database._clear,
server.start,
ldap.start,
ldapServer.start,
settings._setApiServerOrigin.bind(null, 'http://localhost:6060'),
function (callback) {
@@ -223,7 +223,7 @@ function stopBox(done) {
async.series([
database._clear,
server.stop,
ldap.stop,
ldapServer.stop,
], done);
}