Use constants.ADMIN_LOCATION instead

part of #621
This commit is contained in:
Girish Ramakrishnan
2019-03-09 19:51:30 -08:00
parent 46f46483f8
commit 2051b3921b
8 changed files with 9 additions and 35 deletions

View File

@@ -33,7 +33,6 @@ describe('config', function () {
it('did set default values', function () {
expect(config.adminDomain()).to.equal('');
expect(config.adminFqdn()).to.equal('');
expect(config.adminLocation()).to.equal('my');
});
it('set does not save custom values in file', function (done) {
@@ -68,7 +67,6 @@ describe('config', function () {
config.setAdminFqdn('my-test.example.com');
expect(config.adminDomain()).to.equal('test.example.com');
expect(config.adminLocation()).to.equal('my');
expect(config.adminOrigin()).to.equal('https://my-test.example.com');
});