test: let server start the infra

otherwise, deps like dkim keys need to be setup in tests as well
This commit is contained in:
Girish Ramakrishnan
2016-05-23 15:53:49 -07:00
parent 00726b01e2
commit ae807b28b6
2 changed files with 19 additions and 35 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ function debugApp(app, args) {
}
function initialize(callback) {
if (process.env.BOX_ENV === 'test') return callback();
if (process.env.BOX_ENV === 'test' && !process.env.CREATE_INFRA) return callback();
debug('initializing addon infrastructure');
certificates.getAdminCertificatePath(function (error, certFilePath, keyFilePath) {