remove config.fqdn() completely

This commit is contained in:
Girish Ramakrishnan
2018-01-29 14:53:03 -08:00
parent 1791617f33
commit c57c372adf
3 changed files with 3 additions and 14 deletions

View File

@@ -94,7 +94,7 @@ describe('Internal API', function () {
before(function (done) {
apiHockInstance
.post('/api/v1/boxes/' + config.fqdn() + '/awscredentials?token=BACKUP_TOKEN')
.post('/api/v1/boxes/' + config.adminDomain() + '/awscredentials?token=BACKUP_TOKEN')
.reply(201, { credentials: { AccessKeyId: 'accessKeyId', SecretAccessKey: 'secretAccessKey' } });
var port = parseInt(url.parse(config.apiServerOrigin()).port, 10);
apiHockServer = http.createServer(apiHockInstance.handler).listen(port, done);