set isCustomDomain to true by default

CaaS is an exception and not the norm
This commit is contained in:
Girish Ramakrishnan
2017-02-06 23:27:04 -08:00
parent 8f388c86a6
commit 02bcff2223
6 changed files with 37 additions and 34 deletions

View File

@@ -37,10 +37,10 @@ describe('config', function () {
});
it('did set default values', function () {
expect(config.isCustomDomain()).to.equal(false);
expect(config.isCustomDomain()).to.equal(true);
expect(config.fqdn()).to.equal('localhost');
expect(config.adminOrigin()).to.equal('https://' + constants.ADMIN_LOCATION + '-localhost');
expect(config.appFqdn('app')).to.equal('app-localhost');
expect(config.adminOrigin()).to.equal('https://' + constants.ADMIN_LOCATION + '.localhost');
expect(config.appFqdn('app')).to.equal('app.localhost');
expect(config.zoneName()).to.equal('localhost');
});