diff --git a/spec/PushController.spec.js b/spec/PushController.spec.js index d31e82fbf8..e0f51e6fe8 100644 --- a/spec/PushController.spec.js +++ b/spec/PushController.spec.js @@ -519,7 +519,7 @@ describe('PushController', () => { reconfigureServer({ push: { adapter: pushAdapter } }).then(() => { - pushController.sendPush(payload, where, config, auth) + return pushController.sendPush(payload, where, config, auth) }).then(() => { done(); }).catch(() => {