Avoid launch batch service in test enviroment

This commit is contained in:
Daniel García Aubert 2015-12-10 18:40:44 +01:00
parent 1002375439
commit 29e4c3c4af

View File

@ -180,7 +180,9 @@ function App() {
var versionController = new VersionController();
versionController.route(app);
if (global.settings.environment !== 'test') {
batchService(5000, 100);
}
return app;
}