diff --git a/unleash-server/lib/featureDb.js b/unleash-server/lib/featureDb.js index e3e5551d13..5336f3ec0e 100644 --- a/unleash-server/lib/featureDb.js +++ b/unleash-server/lib/featureDb.js @@ -50,7 +50,7 @@ eventStore.on(eventType.featureUpdated, function (event) { } }); } else { - logger.error("Could not handle feature-update event", event); + logger.error('Could not handle feature-update event', event); } } diff --git a/unleash-server/test/eventDbMock.js b/unleash-server/test/eventDbMock.js index 1f66edbbad..f617ed7c95 100644 --- a/unleash-server/test/eventDbMock.js +++ b/unleash-server/test/eventDbMock.js @@ -1,6 +1,6 @@ var Promise = require('bluebird'); -function storeEvent(event) { +function storeEvent() { return new Promise(function (resolve) { resolve(); });