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

@@ -22,7 +22,13 @@ var token = null; // authentication token
var server;
function setup(done) {
server.start(done);
config._reset();
config.setFqdn('example-developer-test.com');
async.series([
server.start.bind(server),
database._clear
], done);
}
function cleanup(done) {