diff --git a/package.json b/package.json index 16056ae..c8c477c 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "istanbul": "^0.4.5", "mocha": "^3.2.0", "mongoose": "^4.8", - "mongoose-subscriptions": "^1.13.8", + "mongoose-subscriptions": "^1.15.2", "prettier": "^1.4.4", "sinon": "^2.1.0" } diff --git a/test/integrationTest.js b/test/integrationTest.js index 7f65e85..ea2d73b 100644 --- a/test/integrationTest.js +++ b/test/integrationTest.js @@ -252,9 +252,10 @@ describe( usedCount: 1, usedCountMax: 2, }, - group: "General", name: "Testing JKALSD", numberOfBillingCycles: 2, + currentBillingCycle: 1, + preserve: false, processor: { id: "DiscountCoupon", state: "saved" }, }); @@ -315,7 +316,7 @@ describe( processor: { state: "saved", id: "DiscountAmount" }, currentBillingCycle: 0, numberOfBillingCycles: 1, - group: "General", + preserve: false, __t: "DiscountAmount", name: "some amount", amount: 2, diff --git a/yarn.lock b/yarn.lock index 530bb2f..b903bdd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -430,9 +430,9 @@ mongoose-originals@^1.3.2: dependencies: lodash "^4.17.4" -mongoose-subscriptions@^1.13.8: - version "1.13.8" - resolved "https://registry.yarnpkg.com/mongoose-subscriptions/-/mongoose-subscriptions-1.13.8.tgz#8eaa7389a8e84ee2819acd02915d3b42e749546a" +mongoose-subscriptions@^1.15.2: + version "1.15.2" + resolved "https://registry.yarnpkg.com/mongoose-subscriptions/-/mongoose-subscriptions-1.15.2.tgz#21f055c08913ab95a1546f94249b2c677ba157ed" dependencies: mongoose-originals "^1.3.2" shortid "^2.2.8"