Fix route/ tests

This commit is contained in:
Girish Ramakrishnan
2017-11-27 15:30:55 -08:00
parent 437312811d
commit 68c26c1d12
20 changed files with 91 additions and 130 deletions

View File

@@ -24,7 +24,7 @@ function setup(done) {
nock.cleanAll();
config._reset();
config.setVersion('1.2.3');
config.setFqdn('localhost');
config.setFqdn('example-backups-test.com');
async.series([
server.start.bind(server),
@@ -53,7 +53,7 @@ function setup(done) {
function addApp(callback) {
var manifest = { version: '0.0.1', manifestVersion: 1, dockerImage: 'foo', healthCheckPath: '/', httpPort: 3, title: 'ok', addons: { } };
appdb.add('appid', 'appStoreId', manifest, 'location', [ ] /* portBindings */, { }, callback);
appdb.add('appid', 'appStoreId', manifest, 'location', config.fqdn(), [ ] /* portBindings */, { }, callback);
},
function createSettings(callback) {