rename location to subdomain
the primary subdomain was previously called 'location'. but the alias/secondary/redirect
subdomain is called 'subdomain'. this makes it all consistent.
location terminology is now used for { subdomain, domain } pair
This commit is contained in:
@@ -112,9 +112,9 @@ describe('Domains', function () {
|
||||
});
|
||||
|
||||
it('cannot delete referenced domain', async function () {
|
||||
const appCopy = Object.assign({}, app, { id: 'into', location: 'xx', domain: DOMAIN_0.domain, portBindings: {} });
|
||||
const appCopy = Object.assign({}, app, { id: 'into', subdomain: 'xx', domain: DOMAIN_0.domain, portBindings: {} });
|
||||
|
||||
await apps.add(appCopy.id, appCopy.appStoreId, appCopy.manifest, appCopy.location, appCopy.domain, appCopy.portBindings, appCopy);
|
||||
await apps.add(appCopy.id, appCopy.appStoreId, appCopy.manifest, appCopy.subdomain, appCopy.domain, appCopy.portBindings, appCopy);
|
||||
|
||||
const [error] = await safe(domains.del(DOMAIN_0.domain, auditSource));
|
||||
expect(error.reason).to.equal(BoxError.CONFLICT);
|
||||
|
||||
Reference in New Issue
Block a user